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: 18 Oct 2005 00:01:57 -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 #16 from law at redhat dot com 2005-10-18 00:01 -------
Subject: Re: Old-style asms don't clobber
memory
On Mon, 2005-10-17 at 23:14 +0000, pinskia at gcc dot gnu dot org wrote:
>
> ------- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-17 23:14 -------
> (In reply to comment #7)
> > You seem to be under the incorrect impression that gcc invented old-style asms.
> > I'm confirming the bug.
>
> Considering that gcc-1.41 had no special handing old-style asm, I don't see why
> you think this is a bug. Though that did not have clobbers. They were added
> later.
Err, old-style asms predate GCC by a long long long time. Fundamentally
they're a blob of assembly code that can do literally anything. Thus
making any assumption about what they do is wrong.
jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24414