This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/24414] Old-style asms don't clobber memory
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2005 21:02:02 -0000
- Subject: [Bug rtl-optimization/24414] Old-style asms don't clobber memory
- References: <bug-24414-119@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rth at gcc dot gnu dot org 2005-10-17 21:02 -------
If we decided this was not-a-bug, then there's a bug in __sync_synchronize,
as that uses asm("") if there's no target fallback.
But personally I think this is a documentation bug. We should consider
memory to be clobbered in old-style asms. Your pointer to the old PR is
irrelevant; that was a new-style asm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24414