This test was failing with -m64 because it was forcing -m32
authorDiego Novillo <dnovillo@google.com>
Mon, 22 Jul 2013 13:24:07 +0000 (09:24 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Mon, 22 Jul 2013 13:24:07 +0000 (09:24 -0400)
instead of asking for ilp32.

From-SVN: r201128

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr57878.C

index ae8f925..2d8930f 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-22  Diego Novillo  <dnovillo@google.com>
+
+       * testsuite/g++.dg/pr57878.C: Do not force -m32.  Use
+       target ilp32.
+
 2013-07-22  Georg-Johann Lay  <avr@gjlay.de>
 
        PR testsuite/52641
index b1aa25c..d4e7d86 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-m32 -O2 -fno-omit-frame-pointer -fPIC -std=gnu++11" } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-options "-O2 -fno-omit-frame-pointer -fPIC -std=gnu++11" } */
 
 typedef int int32;
 typedef long long int64;