------- Comment #11 from amacleod at redhat dot com 2008-01-16 22:44 ------- One could also argue that this exposes two bugs.
First, the const function should not be returning true for tree_could_throw_p() second, SCCVN and PRE don't agree on whether an expression that can throw can be regenerated. We probably still need to make SCCVN and PRE agree, or something else may trigger this down the road. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34648