How to declare an 'asm ("...":: "" (output))' ?

Alexandre Oliva oliva@dcc.unicamp.br
Wed Jun 30 15:43:00 GMT 1999


On Jun 10, 1999, Etienne Lorrain <etienne.lorrain@ibm.net> wrote:

>   I was thinking that an "asm" construct had to be declared
>  volatile when it has no output, but it did not need this
>  keyword when it has (used) output.

Correct.  It's a bug in egcs 1.1.*, that's fixed for gcc 2.95.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the Gcc mailing list