]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR tree-optimization/49115 (invalid return value optimization (?) when...
authorRichard Guenther <rguenther@suse.de>
Mon, 4 Jul 2011 13:25:21 +0000 (13:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Jul 2011 13:25:21 +0000 (13:25 +0000)
commit69d2b841467f404658e05d6ebfabda1628f21811
treeff0d40df3d1977e78b7d5cb6bfdcca3577121313
parenta791abc21f497c5cfc7bc55cf0262495c5fbae11
backport: re PR tree-optimization/49115 (invalid return value optimization (?) when exception is thrown and caught)

2011-07-04  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49115
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise.

* g++.dg/torture/pr49115.C: New testcase.

From-SVN: r175812
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr49115.C [new file with mode: 0644]
gcc/tree-ssa-dce.c