diff mbox

[google] Fix target specifier for testsuite/g++.dg/pr57878.C

Message ID 20130722132424.GA15547@google.com
State New
Headers show

Commit Message

Diego Novillo July 22, 2013, 1:24 p.m. UTC
This test was failing with -m64 because it was forcing -m32
instead of asking for ilp32.

Committed to google/gcc-4_8 and trunk.


Diego.
diff mbox

Patch

Index: gcc/testsuite/g++.dg/pr57878.C
===================================================================
--- gcc/testsuite/g++.dg/pr57878.C      (revision 201124)
+++ gcc/testsuite/g++.dg/pr57878.C      (working copy)
@@ -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;