This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24437] New: OBJ_TYPE_REF handling in fold_stmt should be moved to fold
- 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: 18 Oct 2005 20:25:57 -0000
- Subject: [Bug middle-end/24437] New: OBJ_TYPE_REF handling in fold_stmt should be moved to fold
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Comment in tree-ssa-ccp.c:
/* ??? Should perhaps do this in fold proper. However, doing it
there requires that we create a new CALL_EXPR, and that requires
copying EH region info to the new node. Easier to just do it
here where we can just smash the call operand. */
We have to copy the EH region info for other stuff already, there was a bug
about this which caused an ICE with Honza's new testing and was fixed.
--
Summary: OBJ_TYPE_REF handling in fold_stmt should be moved to
fold
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24437