re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Jul 2011 19:48:46 +0000 (21:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Jul 2011 19:48:46 +0000 (21:48 +0200)
PR testsuite/49753
PR tree-optimization/49309
* testsuite/libmudflap.c++/pass68-frag.cxx: New test.

* g++.dg/torture/pr49309.C: Remove.

From-SVN: r176327

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr49309.C [deleted file]
libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx [new file with mode: 0644]

index a592c253d83d62f323e9c5cfe87213fd730f09cb..1d82350648b9a336b126bcc3007120ffa68cfbb2 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/49753
+       * g++.dg/torture/pr49309.C: Remove.
+
 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
 
        * gcc.target/tic6x/weak-call.c: New test.
diff --git a/gcc/testsuite/g++.dg/torture/pr49309.C b/gcc/testsuite/g++.dg/torture/pr49309.C
deleted file mode 100644 (file)
index 6200763..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-fmudflap"  } */
-struct A
-{
-  int i;
-
-  A();
-  A(const A&);
-};
-
-inline void foo(A a) { a = A(); }
-
-void bar() { foo(A()); }
-
index f981b1b169ff5b78d6dcd99c6636ce120dcab065..ed5ecd181709a71ddcdaa87a929281ed0d69bc23 100644 (file)
@@ -1,3 +1,9 @@
+2011-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/49753
+       PR tree-optimization/49309
+       * testsuite/libmudflap.c++/pass68-frag.cxx: New test.
+
 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac: Don't create pth.
diff --git a/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx b/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx
new file mode 100644 (file)
index 0000000..ab8cd97
--- /dev/null
@@ -0,0 +1,15 @@
+// PR tree-optimization/49309
+// { dg-do compile }
+// { dg-options "-fmudflap" }
+
+struct A
+{
+  int i;
+
+  A();
+  A(const A&);
+};
+
+inline void foo(A a) { a = A(); }
+
+void bar() { foo(A()); }