]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/60648 (ICE (segmentation fault) in expand_binop)
authorJakub Jelinek <jakub@redhat.com>
Sat, 29 Mar 2014 11:10:25 +0000 (12:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 29 Mar 2014 11:10:25 +0000 (12:10 +0100)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr60648.C [moved from gcc/testsuite/g++.dg/pr60648.C with 86% similarity]

index 63a43c2c3adb22ba5a68e5d9607ffcf6cf420919..3a73109176bea3cfc7a408a08a28a3f021208b75 100644 (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>
 
        * gnat.dg/opt33.adb: New testcase.
similarity index 86%
rename from gcc/testsuite/g++.dg/pr60648.C
rename to gcc/testsuite/g++.dg/torture/pr60648.C
index 80c05616c2fd4cb01b3dcc14d8b91235cd32854b..48cf0afb52b20a329587f6fb424798945d58a40f 100644 (file)
@@ -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);
 }
-
-
-