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-Tag: releases/gcc-4.9.0~4914 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5afa1ed4c283baa07f2ad1ad553725adab72600;p=thirdparty%2Fgcc.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 ae8f92555d01..2d8930fa511e 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 b1aa25c486c3..d4e7d862d2c6 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;