[arm] Make arm_cmse.h C99 compatible
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 5 Jun 2018 15:07:09 +0000 (15:07 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Tue, 5 Jun 2018 15:07:09 +0000 (15:07 +0000)
commit9063f9ed9c719042e36f99032739c926df03e248
treeb7cb271826f0b35c198d0cf9a1004f6ec8ea6973
parentab44754ea2fd101fd3393e50a4d89135d691d32e
[arm] Make arm_cmse.h C99 compatible

gcc/ChangeLog
2018-06-05  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/arm/arm_cmse.h (cmse_nsfptr_create): Change typeof to
__typeof__.
(cmse_check_pointed_object): Likewise.

gcc/testsuite/ChangeLog
2018-06-05  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/cmse/cmse-1c99.c: New test.

From-SVN: r261204
gcc/ChangeLog
gcc/config/arm/arm_cmse.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/cmse/cmse-1c99.c [new file with mode: 0644]