This is the mail archive of the gcc-patches@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: [RFC] Do pointer comparison first in operand_equal_p


On Fri, May 13, 2005 at 11:18:05AM -0400, Richard Kenner wrote:
>     What of both operands are the same ERROR_MARK node without
>     side-effects?  Your change would mean we now return 1 whereas
>     previously we returned 0
> 
>     Maybe you should move your test after the ERROR_MARK test.
> 
> Or make ERROR_MARK have side effects?
>
Sounds like a better alternative to me.


Diego.


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