This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2005 01:23:01 -0000
- Subject: [Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- References: <20050505143115.21399.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 01:23 -------
Neither patches are fully complete and here is why,
even though fold creates a new CALL_EXPR, we still need to copy the eh_region the function can throw
so Steven's patch is not complete, we don't check for this right now but it is hard to test for (maybe).
Second if we have a throw to a throw to a non throw function, we need to clean up the regions, so my
patch in comment #12 is not complete.
I have a fix which I am writting up right now which combines the two problems, we have to change the
interface for set_rhs and fold_stmt so they return if you need to removal of eh edges.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21399