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: [tree-ssa PATCH] Fix PR 12187


On Tue, 2003-09-16 at 05:50, Steven Bosscher wrote:

> (I am surprised anyway about this result. Can't we detect that a is not
> volatile and cannot be clobbered between "a = 0;" and "a = 42;", and
> between "a = 42;" and the if-statement??)
> 
No.  Global aliasing is flow-insensitive.

Now that I think about it again, your original approach does look
better.  Marking the variable as a global alias was too drastic.


Diego.


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