This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21568] [4.0/4.1 regression] Casts in folding *& omitted
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2005 13:50:48 -0000
- Subject: [Bug tree-optimization/21568] [4.0/4.1 regression] Casts in folding *& omitted
- References: <20050514140942.21568.rguenth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-21 13:50 -------
The only construct I can make gcc deal with mixed (non-)volatile qualifiers
is a union like in
union {
volatile int x;
int y;
} u;
int foo(void)
{
u.y = 0;
return u.x;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21568