This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16721] [4.0 Regression] Accesses to volatile objects optimized away
- From: "stevenb at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2004 16:26:33 -0000
- Subject: [Bug tree-optimization/16721] [4.0 Regression] Accesses to volatile objects optimized away
- References: <20040726181156.16721.macro@linux-mips.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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