This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46388] [4.6 Regression] ICE in int_mode_for_mode, at stor-layout.c:493
- 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: Wed, 10 Nov 2010 10:52:55 +0000
- Subject: [Bug middle-end/46388] [4.6 Regression] ICE in int_mode_for_mode, at stor-layout.c:493
- Auto-submitted: auto-generated
- References: <bug-46388-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46388
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-10 10:52:53 UTC ---
Created attachment 22364
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22364
gcc46-pr46388.patch
Untested fix.
I think it is a bad idea to keep around VOIDmode MEMs, it can break too much.
I think this should work (alternatively we could use BLKmode in that case
instead).