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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Jan 2013 11:43:38 +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 #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-30 11:43:38 UTC ---
Or the FE should expand the structure assignment in that case to some other
stmts based on what the right semantics is (using loops for larger objects
etc.) and only keep aggregate assignments in the IL for non-volatile (neither
object itself, nor any of the fields) assignments.