[patch][4.0] PR 21171

Richard Earnshaw rearnsha@gcc.gnu.org
Mon Jun 13 13:19:00 GMT 2005


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.



More information about the Gcc-patches mailing list