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