Optimization of conditional access to globals: thread-unsafe?
Tomash Brechko
tomash.brechko@gmail.com
Tue Oct 30 22:01:00 GMT 2007
On Tue, Oct 30, 2007 at 09:49:00 -0700, Ian Lance Taylor wrote:
> I don't know which suggestion you are referring to. The patch I wrote
> will retain the optimization in the case where the memory location is
> unconditionally written later in the function. This is most relevant
> in that the optimization can take place in a loop, if somewhere after
> the loop the memory location is unconditionally written.
OK, thanks for the description, I just couldn't build GCC after update
to see what result looks like. And big Thank You for the patch!
--
Tomash Brechko
More information about the Gcc
mailing list