This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch][ARM,testsuite] Fix gcc.target/arm/thumb-ifcvt.c
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 16 Jun 2015 11:12:54 +0100
- Subject: Re: [Patch][ARM,testsuite] Fix gcc.target/arm/thumb-ifcvt.c
- Authentication-results: sourceware.org; auth=none
- References: <CAKdteOawBPiXJDoaSs7rcSzworcPvhNbauJhzL_-MhksN3_n7w at mail dot gmail dot com>
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.