This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51466] [4.7 Regression] ICE in gimple_rhs_has_side_effects,
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Dec 2011 15:41:50 +0000
- Subject: [Bug tree-optimization/51466] [4.7 Regression] ICE in gimple_rhs_has_side_effects,
- Auto-submitted: auto-generated
- References: <bug-51466-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51466
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-08 15:41:50 UTC ---
(In reply to comment #2)
> Created attachment 26024 [details]
> gcc47-pr51466.patch
>
> Another alternative. Note that apparently gimple_rhs_has_side_effects has been
> removed in the mean time, still having TREE_SIDE_EFFECTS consistent doesn't
> hurt.
Hm, well. It doesn't hurt, yes. But maybe it confuses people as to what
is actually needed to be kept up-to-date? (that's not 100% clear to me
either - GIMPLE at least does not care about TREE_SIDE_EFFECTS, though
older RTL expansion code might).