A question about fold_rtx when it attempts to fold PC

Kazu Hirata kazu@cs.umass.edu
Thu Jan 27 15:40:00 GMT 2005


Hi John,

> > Also, note that the above "if" condition is never true while compiling
> > cc1-i files on i686-pc-linux-gnu.
> 
> I did a full bootstrap and check on hppa2.0w-hp-hpux11.11 and the
> "if" condition was never true.

Thank you very much for stepping forward to do this.  I just did the
same on i686-pc-linux-gnu.  Again, the "if" condition was never true.

> Thus, even if the logic is correct, this optimization isn't useful.

Agreed.  I'll submit a patch to remove the optimization.

Kazu Hirata



More information about the Gcc mailing list