This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47409] volatile struct member bug
- From: "regehr at cs dot utah.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jan 2011 03:57:40 +0000
- Subject: [Bug c/47409] volatile struct member bug
- Auto-submitted: auto-generated
- References: <bug-47409-4@http.gcc.gnu.org/bugzilla/>
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;
}