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: [PATCH] Fix PR optimization/13653


> > Whouldn't it be more straightforward to clear the /u flag for the giv
> > when strength reduction goes ahead?
> 
> Is it safe to clear the /u flag in general?  to clear it on givs?

I suppose it might be unsafe on MEMs, but I don't see what could
go wrong when you clear it on a REG (as long as you don't keep
cached information around about it being /u).  After all, it means only
'set once' in this context.  A truly unchanging giv would be a rather
strange thing.


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