This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51895] [4.7 Regression] ICE in simplify_subreg
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 13:55:31 +0000
- Subject: [Bug middle-end/51895] [4.7 Regression] ICE in simplify_subreg
- Auto-submitted: auto-generated
- References: <bug-51895-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51895
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-19 13:55:31 UTC ---
Peter's patch does as well. The thing is that we still do wrong expand_expr on
that kind of MEM_EXPR, and I don't see anything that would prevent such
MEM_EXPRs in all kinds of other contexts, not just in the loading of the
parameters.
And each of the would need hacks to cope with a BLKmode expression surprisingly
being expanded to something that doesn't have BLKmode.