[Bug c/47409] volatile struct member bug
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 25 02:17:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-25 00:00:37 UTC ---
I think we should respect volatile on fields, and not use memcpy/memmove
for assignment of volatile structs or structs with volatile fields (at
least not for the parts with those fields; it's probably OK, but not
worthwhile, for the non-volatile bits of the structs).
More information about the Gcc-bugs
mailing list