This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch][ARM,testsuite] Fix gcc.target/arm/thumb-ifcvt.c



On 16/06/15 11:09, Christophe Lyon wrote:
Hi,

Since Kyrill's r224367 (Restrict MAX_CONDITIONAL_EXECUTE when
-mrestrict-it is in place), gcc.target/arm/thumb-ifcvt.c fails when
testing a compiler configured to generate armv8 code by default (I
used --with-cpu=cortex-a57 for instance).

This is because -mrestrict-it is on by default for armv8-a. This patch
adds -mno-restrict-it to dg-options to remove this restriction.

The test now passes for arm-none-linux-gnueabihf --with-cpu=cortex-a57.

Ok to commit?

Ok.
Thanks,
Kyrill


Thanks,

Christophe.

2015-06-16  Christophe Lyon  <christophe.lyon@linaro.org>

     * gcc.target/arm/thumb-ifcvt.c: Add -mno-restrict-it to
     dg-options.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]