[PATCH][GCC][ARM] testcase memset-inline-10.c uses -mfloat-abi=hard but does not check whether target supports it

Andre Vieira Andre.SimoesDiasVieira@arm.com
Thu Nov 12 15:09:00 GMT 2015


   This patch changes the memset-inline-10.c testcase to make sure that 
it is only compiled for ARM targets that support -mfloat-abi=hard using 
the fact that all non-thumb1 targets do.

   This is correct because all targets for which -mthumb causes the 
compiler to use thumb2 will support the generation of FP instructions.

   Tested by running regressions for this testcase for various ARM targets.

   Is this OK to commit?

   Andre Vieira

2015-11-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>

         * gcc.target/arm/memset-inline-10.c: Added
         dg-require-effective-target arm_thumb2_ok.

More information about the Gcc-patches mailing list