[Bug rtl-optimization/47366] [4.6 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note in the end of bb 3 with -fnon-call-exceptions -fno-tree-ccp -fno-tree-forwprop
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 21 19:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47366
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-21 19:34:08 UTC ---
Author: jakub
Date: Fri Jan 21 19:34:03 2011
New Revision: 169100
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169100
Log:
PR rtl-optimization/47366
* fwprop.c (forward_propagate_into): Return bool. If
any changes are made, -fnon-call-exceptions is used and
REG_EH_REGION note is present, call purge_dead_edges
and return true if it purged anything.
(fwprop_addr): Adjust callers, call cleanup_cfg (0) if
any EH edges were purged.
* g++.dg/opt/pr47366.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr47366.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fwprop.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list