From: Diego Novillo Date: Mon, 22 Jul 2013 13:24:07 +0000 (-0400) Subject: This test was failing with -m64 because it was forcing -m32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5afa1ed4c283baa07f2ad1ad553725adab72600;p=gcc.git This test was failing with -m64 because it was forcing -m32 instead of asking for ilp32. From-SVN: r201128 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae8f92555d0..2d8930fa511 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-07-22 Diego Novillo + + * testsuite/g++.dg/pr57878.C: Do not force -m32. Use + target ilp32. + 2013-07-22 Georg-Johann Lay PR testsuite/52641 diff --git a/gcc/testsuite/g++.dg/pr57878.C b/gcc/testsuite/g++.dg/pr57878.C index b1aa25c486c..d4e7d862d2c 100644 --- a/gcc/testsuite/g++.dg/pr57878.C +++ b/gcc/testsuite/g++.dg/pr57878.C @@ -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;