From: Rainer Orth Date: Mon, 25 Jul 2011 15:25:32 +0000 (+0000) Subject: re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2d8a62e2debedf777e53e2206c0a818707571ac;p=gcc.git re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C) gcc/testsuite: PR testsuite/49753 * g++.dg/torture/pr49309.C: Add -fpreprocessed to dg-options. Revert: 2011-07-15 Jakub Jelinek PR testsuite/49753 * g++.dg/torture/pr49309.C: Remove. libmudflap: Revert: 2011-07-15 Jakub Jelinek PR testsuite/49753 PR tree-optimization/49309 * testsuite/libmudflap.c++/pass68-frag.cxx: New test. From-SVN: r176752 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7a3c590fefe..f0e66cf7c91 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2011-07-25 Rainer Orth + + PR testsuite/49753 + * g++.dg/torture/pr49309.C: Add -fpreprocessed to dg-options. + + Revert: + 2011-07-15 Jakub Jelinek + + PR testsuite/49753 + * g++.dg/torture/pr49309.C: Remove. + 2011-07-25 Richard Sandiford PR tree-optimization/49809 diff --git a/gcc/testsuite/g++.dg/torture/pr49309.C b/gcc/testsuite/g++.dg/torture/pr49309.C new file mode 100644 index 00000000000..a3453779250 --- /dev/null +++ b/gcc/testsuite/g++.dg/torture/pr49309.C @@ -0,0 +1,15 @@ +// PR tree-optimization/49309 +// { dg-do compile } +// { dg-options "-fpreprocessed -fmudflap" } + +struct A +{ + int i; + + A(); + A(const A&); +}; + +inline void foo(A a) { a = A(); } + +void bar() { foo(A()); } diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index ed5ecd18170..c79116bf75c 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,12 @@ +2011-07-25 Rainer Orth + + Revert: + 2011-07-15 Jakub Jelinek + + PR testsuite/49753 + PR tree-optimization/49309 + * testsuite/libmudflap.c++/pass68-frag.cxx: New test. + 2011-07-15 Jakub Jelinek PR testsuite/49753 diff --git a/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx b/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx deleted file mode 100644 index ab8cd97f2a2..00000000000 --- a/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx +++ /dev/null @@ -1,15 +0,0 @@ -// 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()); }