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: Tue, 25 Jan 2011 15:42:15 +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 #7 from John Regehr <regehr at cs dot utah.edu> 2011-01-25 15:41:58 UTC ---
(In reply to comment #6)
> struct {
> volatile int a[1000000];
> } a, b;
> a = b;
>
> ? And what's the difference of the above to
>
> volatile struct {
> int a[1000000];
> } a, b;
> a = b;
There's no effective difference, I believe.