[Bug target/54358] ICE in output_pic_addr_const

alexander.adam at informatik dot tu-chemnitz.de gcc-bugzilla@gcc.gnu.org
Thu Aug 23 13:49:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54358

--- Comment #5 from Alexander Adam <alexander.adam at informatik dot tu-chemnitz.de> 2012-08-23 13:49:19 UTC ---
(In reply to comment #4)
> Yes, definitely invalid.  With PIC p is not correct constraint for any code
> label, address of a variable etc., all that requires adding some offset to the
> PIC register, therefore must allow register in the constraint.

But shouldn't the ICE be replaced by something like
    "do not use p constraint with -fPIC"
Instead of encouraging bug reports?



More information about the Gcc-bugs mailing list