This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34969] [4.3 regression] ICE with -fipa-cp -ffast-math
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2008 12:34:57 -0000
- Subject: [Bug middle-end/34969] [4.3 regression] ICE with -fipa-cp -ffast-math
- References: <bug-34969-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2008-01-28 12:34 -------
Not folding CALL_EXPRs would introduce a regression on g++.dg/opt/devirt1.C,
after all fold_marked_statements has been added exactly to fix that regression:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00165.html
Regarding the helper function, do you mean a wrapper around fold_stmt which
will do the cgraph edge updates? As fold_stmt can change the whole stmt,
the helper function needs to know the old as well as new statement to do the
updates.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34969