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
This commit is contained in:
Jakub Jelinek 2014-03-29 12:10:25 +01:00 committed by Jakub Jelinek
parent df438771cc
commit f67c829e48
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2014-03-29 Jakub Jelinek <jakub@redhat.com>
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 <ebotcazou@adacore.com> 2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt33.adb: New testcase. * gnat.dg/opt33.adb: New testcase.

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */ // PR target/60648
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ // { dg-do compile }
/* { dg-options "-O3 -fPIC -m32" } */ // { dg-additional-options "-fPIC" { target fpic } }
enum component enum component
{ {
@ -68,6 +68,3 @@ void fn3 ()
b[1] = fn2 (e); b[1] = fn2 (e);
d = fn1 (c); d = fn1 (c);
} }