public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@transmeta.com>
To: Paul Koning <pkoning@xedia.com>
Cc: kenner@vlsi1.ultra.nyu.edu, gcc2@cygnus.com, egcs@cygnus.com
Subject: Re: New problems with gcc-2.8.0 based code - NOW FIXED!
Date: Tue, 30 Dec 1997 12:27:00 -0000	[thread overview]
Message-ID: <Pine.LNX.3.95.971230122358.440A-100000@penguin.transmeta.com> (raw)
In-Reply-To: <9712302006.AA15131@kona.>

Paul Koning writes:
> 
> On the other hand, an asm that has no explicit output clearly must
> have side effects, otherwise it wouldn't have been put there.  So for
> such an asm, "volatile" is the right treatment.

I agree 100%.

Any asm without any outputs by very definition has to have some side
effect to be useful, and as such the compiler should consider it volatile
by default. That makes gcc not only conform with the documentation, it is
also the only interpretation that makes any sense at all. 

The lack of a "novolatile" keyword is a non-issue, as anybody who would
ever want to use it seems rather misguided.

		Linus


  reply	other threads:[~1997-12-30 12:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9712301949.AA01218@vlsi1.ultra.nyu.edu>
1997-12-30 13:52 ` Paul Koning
1997-12-30 12:27   ` Linus Torvalds [this message]
     [not found] <E0xnN2N-0005UN-00@paddington.london.uk.eu.org>
     [not found] ` <199801030231.DAA25241@mail.macqel.be>
1998-01-05 10:13   ` Paul Koning
     [not found] <9712302324.AA01798@vlsi1.ultra.nyu.edu>
1997-12-30 16:39 ` Paul Koning
     [not found] <9712302109.AA01369@vlsi1.ultra.nyu.edu>
1997-12-30 14:41 ` Paul Koning
1997-12-30 23:05   ` Richard Stallman
     [not found] <199712302041.MAA25118@atrus.synopsys.com>
1997-12-30 13:45 ` Toon Moene
1997-12-10 23:09 cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on sparc-sun-sunos4.1.3 Manfred.Hollstein
1997-12-22 12:06 ` Jeffrey A Law
1997-12-26  8:11   ` New problems with gcc-2.8.0 based code [was: Re: cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on sparc-sun-sunos4.1.3 ] Manfred Hollstein
1997-12-27 12:13     ` New problems with gcc-2.8.0 based code - NOW FIXED! Manfred Hollstein
1997-12-28 23:23       ` Richard Stallman
1997-12-29  7:48         ` Jeffrey A Law
1997-12-29 11:17           ` Manfred Hollstein
1997-12-29 10:20             ` Jeffrey A Law
1997-12-30  8:57               ` Manfred Hollstein
1997-12-30  9:47                 ` Andi Kleen
1998-01-01 10:02                   ` Manfred Hollstein
1997-12-30 11:33                 ` Philip Blundell
1997-12-30 13:17                 ` Paul Koning
1997-12-29 11:08         ` Manfred Hollstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.95.971230122358.440A-100000@penguin.transmeta.com \
    --to=torvalds@transmeta.com \
    --cc=egcs@cygnus.com \
    --cc=gcc2@cygnus.com \
    --cc=kenner@vlsi1.ultra.nyu.edu \
    --cc=pkoning@xedia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).