http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52330
Uros Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-02-22 AssignedTo|unassigned at gcc dot |ubizjak at gmail dot com |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2012-02-22 08:59:02 UTC --- Untested patch: Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 184459) +++ config/i386/i386.c (working copy) @@ -14091,6 +14091,12 @@ return; case 'H': + if (!offsettable_memref_p (x)) + { + output_operand_lossage ("operand is not offsetable, invalid " + "operand code 'H'"); + return; + } /* It doesn't actually matter what mode we use here, as we're only going to use this for printing. */ x = adjust_address_nv (x, DImode, 8);