This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A question about fold_rtx when it attempts to fold PC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]