This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51481] [4.7 Regression] ice: dead STMT in EH table
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Dec 2011 10:24:49 +0000
- Subject: [Bug tree-optimization/51481] [4.7 Regression] ice: dead STMT in EH table
- Auto-submitted: auto-generated
- References: <bug-51481-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51481
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 10:24:49 UTC ---
Created attachment 26053
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26053
gcc47-pr51481.patch
maybe_cleanup_or_replace_eh_stmt wasn't called, the patch fixes that.
Unfortunately, as it is deep inside of fold_stmt called from deep from various
passes, including cfg cleanup, I'm afraid handling eh edge dropping as opposed
to just replacing would be hard. Let's just hope possibly throwing builtins
aren't optimized away.