This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/51481] [4.7 Regression] ice: dead STMT in EH table


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]