This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch fixing a test for PR55151
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 7 Nov 2012 14:27:35 -0800
- Subject: Re: patch fixing a test for PR55151
- References: <509ADEE0.5090508@redhat.com>
On Wed, Nov 7, 2012 at 2:21 PM, Vladimir Makarov <vmakarov@redhat.com> wrote:
> The following patch adds omitted target for the test. The test was
> supposed to run on x86-64 only. On 32-bit x86, it should fail. Reload
> fails on this test on x86 too although with an error message. I am going to
> add a generation of a message too.
>
> Committed as rev. 193311.
>
> 2012-11-07 Vladimir Makarov <vmakarov@redhat.com>
>
> PR rtl-optimization/55151
> * gcc.dg/pr55151.c: Compile it only for x86_64.
>
Checking x86_64-*-* target is incorrect since i686 GCC can support
64-bit. You should check !ia32 target:
/* { dg-do compile { target { ! { ia32 } } } } */
--
H.J.