[Bug bootstrap/54688] [4.8 regression] violation of implicit restriction "No_Elaboration_Code" on a-ioexce.ads

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 26 14:03:00 GMT 2012


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

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-09-26 14:03:24 UTC ---
> Oh, I missed that it was a MINUS rtx. This is noncanonical RTL, it should be
> (plus (sp) (negated constant)).
> 
> Does the bug persist if you fix the sparc port in this way?

I'm not sure we want to change the SPARC port (this form is used because of the
larger offset range).  In any case, non-canonical RTL shouldn't result in wrong
code, only in missed optimization.



More information about the Gcc-bugs mailing list