From patchwork Wed Nov 7 22:45:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: patch fixing a test for PR55151 Date: Wed, 07 Nov 2012 12:45:08 -0000 From: Vladimir Makarov X-Patchwork-Id: 197736 Message-Id: <509AE474.4000103@redhat.com> To: "H.J. Lu" Cc: GCC Patches On 12-11-07 5:27 PM, H.J. Lu wrote: > On Wed, Nov 7, 2012 at 2:21 PM, Vladimir Makarov 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 >> >> 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 } } } } */ > > Thanks, H.J. I've just fixed it. Index: testsuite/ChangeLog =================================================================== --- testsuite/ChangeLog (revision 193316) +++ testsuite/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2012-11-07 Vladimir Makarov + + PR rtl-optimization/55151 + * gcc.dg/pr55151.c: Use ia32 instead of x86_64. + 2012-11-05 Uros Bizjak * gcc.dg/tree-ssa/cunroll-1.c: Scan cunrolli dump. Index: testsuite/gcc.dg/pr55151.c =================================================================== --- testsuite/gcc.dg/pr55151.c (revision 193316) +++ testsuite/gcc.dg/pr55151.c (working copy) @@ -1,5 +1,5 @@ /* PR rtl-optimization/55151 */ -/* { dg-do compile { target x86_64-*-* } } */ +/* { dg-do compile { target { ! { ia32 } } } } */ /* { dg-options "-fPIC" } */ int a, b, c, d, e, f, g, h, i, j, k, l;