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 ae8f92555d010bc188ddcdfd130ee6d39ef555cc..2d8930fa511ec1a28600cb860d9759c6accd4a6f 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 b1aa25c486c3abf6ad52e73e6efd3554c1650b38..d4e7d862d2c6a28ca370a674110bb78bc1d28bdf 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;