This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]