[Bug c/47409] volatile struct member bug

regehr at cs dot utah.edu gcc-bugzilla@gcc.gnu.org
Sat Jan 22 05:08:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409

--- Comment #1 from John Regehr <regehr at cs dot utah.edu> 2011-01-22 03:57:20 UTC ---
Ack, sorry, wrong testcase!  This is it:

struct s2 {
  volatile int x;
};

struct s2 s;

void foo (void) {
  s = s;
}



More information about the Gcc-bugs mailing list