This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33615] Hoisting of potentially-throwing values for -fnon-call-exceptions
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2007 11:10:31 -0000
- Subject: [Bug tree-optimization/33615] Hoisting of potentially-throwing values for -fnon-call-exceptions
- References: <bug-33615-13767@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rsandifo at gcc dot gnu dot org 2007-10-09 11:10 -------
Patches applied. The consensus seemed to be that we need better
infrastructure. The suggestions were:
- set TREE_SIDE_EFFECTS for throwing expressions
- add a new predicate for checking TREE_SIDE_EFFECTS, tree_could_throw_p,
and others
- make sure that throwing expressions end a bb even if they
don't throw internally
--
rsandifo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33615