From: Jakub Jelinek Date: Sat, 29 Mar 2014 11:10:25 +0000 (+0100) Subject: re PR target/60648 (ICE (segmentation fault) in expand_binop) X-Git-Tag: releases/gcc-4.9.0~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67c829e488e92b110de5a69c60c4fe59f3a58ac;p=thirdparty%2Fgcc.git re PR target/60648 (ICE (segmentation fault) in expand_binop) PR target/60648 * g++.dg/pr60648.C: Move test to... * g++.dg/torture/pr60648.C: ... here. Run on all targets, remove dg-options, add for fpic targets dg-additional-options -fPIC. From-SVN: r208933 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63a43c2c3adb..3a73109176be 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2014-03-29 Jakub Jelinek + + PR target/60648 + * g++.dg/pr60648.C: Move test to... + * g++.dg/torture/pr60648.C: ... here. Run on all targets, remove + dg-options, add for fpic targets dg-additional-options -fPIC. + 2014-03-28 Eric Botcazou * gnat.dg/opt33.adb: New testcase. diff --git a/gcc/testsuite/g++.dg/pr60648.C b/gcc/testsuite/g++.dg/torture/pr60648.C similarity index 86% rename from gcc/testsuite/g++.dg/pr60648.C rename to gcc/testsuite/g++.dg/torture/pr60648.C index 80c05616c2fd..48cf0afb52b2 100644 --- a/gcc/testsuite/g++.dg/pr60648.C +++ b/gcc/testsuite/g++.dg/torture/pr60648.C @@ -1,6 +1,6 @@ -/* { dg-do compile } */ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O3 -fPIC -m32" } */ +// PR target/60648 +// { dg-do compile } +// { dg-additional-options "-fPIC" { target fpic } } enum component { @@ -68,6 +68,3 @@ void fn3 () b[1] = fn2 (e); d = fn1 (c); } - - -