diff options
author | Martin Jambor <mjambor@suse.cz> | 2014-07-24 15:03:22 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2014-07-24 15:03:22 +0200 |
commit | 472411664e6343a0b203e3b74740ff8a2686b625 (patch) | |
tree | 7001233f0ab8fea5feb56f0f890add43d9710972 /gcc | |
parent | a12f7ac87029dda9c7e87ca99c6983d35fe14b96 (diff) | |
download | gcc-472411664e6343a0b203e3b74740ff8a2686b625.zip gcc-472411664e6343a0b203e3b74740ff8a2686b625.tar.gz gcc-472411664e6343a0b203e3b74740ff8a2686b625.tar.bz2 |
re PR ipa/61160 (wrong code with -O3 (or ICE: verify_cgraph_node failed: edge points to wrong declaration))
2014-07-24 Martin Jambor <mjambor@suse.cz>
PR ipa/61160
* g++.dg/ipa/pr61160-2.C (main): Always return zero.
From-SVN: r212987
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/pr61160-2.C | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae5dd74..42ac62f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-24 Martin Jambor <mjambor@suse.cz> + + PR ipa/61160 + * g++.dg/ipa/pr61160-2.C (main): Always return zero. + 2014-07-24 Richard Biener <rguenther@suse.de> PR ipa/61823 diff --git a/gcc/testsuite/g++.dg/ipa/pr61160-2.C b/gcc/testsuite/g++.dg/ipa/pr61160-2.C index 1011bd1..dd925d2 100644 --- a/gcc/testsuite/g++.dg/ipa/pr61160-2.C +++ b/gcc/testsuite/g++.dg/ipa/pr61160-2.C @@ -39,5 +39,6 @@ void *test (MMixin & anExample) int main () { CExample c; - return (test (c) != &c); + test (c); + return 0; } |