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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-12 20:59:31 UTC ---
Author: jakub
Date: Mon Dec 12 20:59:28 2011
New Revision: 182264

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182264
Log:
    PR tree-optimization/51481
    * gimple-fold.c (gimple_fold_call): Call
    maybe_clean_or_replace_eh_stmt.  Avoid optimization if stmt has EH
    edges, but gimple_fold_builtin result can't throw.

    * gcc.dg/pr51481.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr51481.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog


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