[Bug tree-optimization/41775] [4.5 Regression] IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302
jamborm at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 26 21:53:00 GMT 2009
------- Comment #3 from jamborm at gcc dot gnu dot org 2009-10-26 21:53 -------
Created an attachment (id=18903)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18903&action=view)
Proposed fix
Indeed, the users of build_ref_for_offset in ipa-prop.c and ipa-cp.c
do not unshare the base expressions they should. I have looked at all
other users and found that they either pass declarations or do their
own unsharing and so decided to move the unsharing to
build_ref_for_offset itself. The attached patch fixes the ICE when
compiling the testcase, I am currently bootstrapping it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41775
More information about the Gcc-bugs
mailing list