[gnu.gcc] asm problems

ham@polya.Stanford.EDU (Peter R. Ham) (01/18/89)

I tried compiling the following:

bar()
{
  asm  ("movl $0, r11" : : : "r11"); 
}

but got the following error:

../gcc-1.32/gcc -B../gcc-1.32/ -c -dr -S extern.c 
../gcc-1.32/gcc: Program cc1 got fatal signal 4.

I'm not sure if cc1 should signal or not, there could be something wrong
with my asm syntax.  The idea is to move 0 to r11 and let gcc know
that r11 is clobbered.

Any ideas?
--
Peter Ham			PO Box 3430	(415) 321-5746
MS Computer Science Student	Stanford, CA	ham@polya.stanford.edu
Stanford University 		94309

rms@WHEATIES.AI.MIT.EDU (Richard Stallman) (01/18/89)

1. Please report bugs to bug-gcc, not to info-gcc.
Most users are not interested in hearing about bugs,
and those who are will generally go on bug-gcc.

2. When you report a bug, don't omit the GCC version number!
And don't fail to say what kind of machine you are on,
and what configuration you specified when running config.gcc.