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][4.0] PR 21171


On Mon, 2005-06-13 at 14:12, Zdenek Dvorak wrote:
> Hello,
> 
> is the patch for that PR (misscompilation due to misshandling of
> alias info for volatile memory references and memory references
> with absolute address in ivopts)
> 
> http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02750.html
> 
> OK for 4.0?
> 
> Zdenek

The use of volatile in this test was always a red herring.  The code
should execute correctly even when the variables aren't volatile
qualified.  Your patch (IIRC) only addresses the volatile issue so,
while it might be useful in some real cases, doesn't really fix this
particular problem.

R.


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