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: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2005 23:54:31 -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 #14 from law at redhat dot com 2005-10-17 23:54 -------
Subject: Re: Old-style asms don't clobber
memory
On Mon, 2005-10-17 at 22:25 +0000, pinskia at gcc dot gnu dot org wrote:
>
> ------- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-17 22:25 -------
> Because you changed the behavior from older GCC's without updating the
> documention and the documention has not changed since 1996 and most likely even
> older than that. So nobody had depended on it at all, why should we fix
> something which is never been true except for what you added? which was not
> even really discussed that much at all.
The old behavior was wrong and painfully obvious once we had to go
look at the code for volatile asms. The new behavior is conservatively
correct.
You can argue there should be a doc update to go along with that and
I'd tentatively agree with that.
jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24414