[Bug tree-optimization/16721] [4.0 Regression] Accesses to volatile objects optimized away

stevenb at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 22 16:26:00 GMT 2004


------- Additional Comments From stevenb at suse dot de  2004-09-22 16:26 -------
Subject: Re:  [4.0 Regression] Accesses to volatile objects optimized away

On Wednesday 22 September 2004 18:13, dnovillo at gcc dot gnu dot org wrote:
> ------- Additional Comments From dnovillo at gcc dot gnu dot org 
> 2004-09-22 16:13 -------
>
> I still see the load from p->addr in the .optimized dump.  And the load
> seems to be there in the assembly output.
>
> Is this still a problem?
> $ gcc/cc1 -O2 -fdump-tree-all-vops 16721.c

Add -fno-strict-aliasing



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16721



More information about the Gcc-bugs mailing list