[Bug optimization/11083] [3.3 regression] ICE in commit_one_edge_insertion, at cfgrtl.c:1438 with -O2 -fnon-call-exceptions
janis187 at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 23 23:11:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11083
------- Additional Comments From janis187 at us dot ibm dot com 2003-06-23 23:02 -------
The regression in 11083 was introduced or exposed with this patch:
2002-06-13 Jeffrey Law <law@redhat.com>
* gcse.c (delete_null_pointer_checks_1): Inform caller if any
null pointer checks were eliminated. Update prototype.
(delete_null_pointer_checks): Similarly.
* rtl.h (delete_null_pointer_checks): Update prototype.
* toplev.c (rest_of_compilation): Only run cleanup_cfg if
delete_null_pointer_checks deletes one or more null
pointer checks. Do not run cleanup_cfg before gcse, the
CFG is accurate and optimized at that point.
The regression hunt used the minimized test case from comment #2 on
i686-pc-linux-gnu, compiled with -O2 -fnon-call-exceptions.
More information about the Gcc-bugs
mailing list