This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,testsuite] xfail pr23098.c on vxworks targets
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 Jul 2007 12:37:07 -0700
- Subject: Re: [PATCH,testsuite] xfail pr23098.c on vxworks targets
- References: <20070726174029.GA16997@sparrowhawk.codesourcery.com>
- Reply-to: janis187 at us dot ibm dot com
On Thu, 2007-07-26 at 10:40 -0700, Nathan Froyd wrote:
> The attached patch XFAILs gcc.target/i386/pr23098.c on x86 vxworks
> targets. The testcase was written to ensure that loads of a "easy"
> floating-point constant (e.g. 0.0 or 1.0) get turned into the
> appropriate x86 instructions, rather than loading from memory.
> Unfortunately, the testcase fails because VxWorks takes a somewhat
> different approach to loading such constants, one that the
> deligitimize_address hook does not recognize. Rewriting the x86 backend
> to help VxWorks out here was judged too hairy and therefore XFAILing the
> testcase seemed like the best way forward.
>
> Tested on i586-wrs-vxworks. OK to commit?
OK.
Janis