]> granicus.if.org Git - clang/commit
[ARM] Limit the diagnose when an ISR calls a regular function
authorWeiming Zhao <weimingz@codeaurora.org>
Fri, 5 May 2017 19:25:29 +0000 (19:25 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Fri, 5 May 2017 19:25:29 +0000 (19:25 +0000)
commite862caa270fa7d2e48d630d9d62681ee7e197bbd
treec79a1e678b78afc207a476c7301ba503d02dde5a
parent703c645447c4685c14022f7ce53869d11d514636
[ARM] Limit the diagnose when an ISR calls a regular function

Summary:
When the function is compiled with soft-float or on CPU with no FPU, we
don't need to diagnose for a call from an ISR to a regular function.

Reviewers: jroelofs, eli.friedman

Reviewed By: jroelofs

Subscribers: aemerson, rengolin, javed.absar, cfe-commits

Differential Revision: https://reviews.llvm.org/D32918

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302274 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Sema/SemaExpr.cpp
test/Sema/arm-interrupt-attr.c