diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-15 21:48:46 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-07-15 21:48:46 +0200 |
commit | b378a5669d19e462d66a0583702423c1a7ec7f6a (patch) | |
tree | 44db51b6d0a8bcc05f4df42ba4623eeb8eb6f503 /libmudflap | |
parent | bfee0724e0c7f3473bf17274cc750d65207db037 (diff) | |
download | gcc-b378a5669d19e462d66a0583702423c1a7ec7f6a.zip gcc-b378a5669d19e462d66a0583702423c1a7ec7f6a.tar.gz gcc-b378a5669d19e462d66a0583702423c1a7ec7f6a.tar.bz2 |
re PR testsuite/49753 (FAIL: g++.dg/torture/pr49309.C)
PR testsuite/49753
PR tree-optimization/49309
* testsuite/libmudflap.c++/pass68-frag.cxx: New test.
* g++.dg/torture/pr49309.C: Remove.
From-SVN: r176327
Diffstat (limited to 'libmudflap')
-rw-r--r-- | libmudflap/ChangeLog | 6 | ||||
-rw-r--r-- | libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index f981b1b..ed5ecd1 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -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 index 0000000..ab8cd97 --- /dev/null +++ b/libmudflap/testsuite/libmudflap.c++/pass68-frag.cxx @@ -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()); } |