This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- 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: Fri, 21 Jan 2011 19:34:44 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-47366-4@http.gcc.gnu.org/bugzilla/>
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