This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49115] [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 4 Jul 2011 13:25:58 +0000
- Subject: [Bug tree-optimization/49115] [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
- Auto-submitted: auto-generated
- References: <bug-49115-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49115
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-04 13:25:24 UTC ---
Author: rguenth
Date: Mon Jul 4 13:25:21 2011
New Revision: 175812
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175812
Log:
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.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr49115.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-ssa-dce.c