[Bug tree-optimization/21568] [4.0/4.1 regression] Casts in folding *& omitted

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 21 13:50:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list