Hi all,

This patch makes the arm_cmse.h header file ISO C compliant. We were
using 'typeof' before when we should be using '__typeof__'.
Duplicated cmse-1.c with -std=c99 on the command line to test this.

Ran the cmse tests for arm-none-eabi.

Is this OK for trunk?

Cheers,
Andre

gcc
2018-06-xx  Andre Vieira  <andre.simoesdiasvie...@arm.com>

        * config/arm/arm_cmse.h (cmse_nsfptr_create): Change typeof to
        __typeof__.
        (cmse_check_pointed_opject): Idem.

gcc/testsuite
2018-06-xx  Andre Vieira  <andre.simoesdiasvie...@arm.com>

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

Reply via email to