On 05/06/18 11:18, Kyrill Tkachov wrote: > > On 05/06/18 11:03, Andre Vieira (lists) wrote: >> On 05/06/18 10:42, Kyrill Tkachov wrote: >>> Hi Andre, >>> >>> On 05/06/18 10:40, Andre Vieira (lists) wrote: >>>> 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? >>>> >>> I think you forgot to attach the patch. >>> >> Someone must have switched my coffee for a decaf... >> >> Here it is.Thanks! >> >> Cheers, >> Andre >>> Kyrill >>> >>>> 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. > > Thanks, this is ok for trunk. > Kyrill > > Hi,
Is it OK to backport this to gcc-7? Applies cleanly (after backporting Jerome's arm_cmse.h patch too) and I ran the cmse tests. Cheers, Andre