`asm' operand requires impossible reload

Trevin Beattie trevin@eyring.com
Fri Feb 4 08:59:00 GMT 2000


Host system:
nanook:gcc% uname -v
NetBSD 1.4.1 (NANOOK) #4: Fri Nov 19 11:21:23 MST 1999
trevin@nanook:/usr/src/sys/arch/i386/compile/NANOOK

configure options:
--with-gnu-as --with-gnu-ld --with-stabs --disable-languages
--prefix=/home/trevin/eyrx --with-local-prefix=/home/trevin/eyrx
--enable-threads=no --target=i586-eyrx-coff --host=i586-pc-netbsd1.4.1

Cross-compiler:
nanook:libc% /home/trevin/eyrx/bin/i586-eyrx-coff-gcc --version
2.95.2

Problem:
nanook:ma_int64% /home/trevin/eyrx/bin/i586-eyrx-coff-gcc -O2 -S
gcc-2.95.2-bug.c -o gcc-2.95.2-bug.s
gcc-2.95.2-bug.c: In function `foo':
gcc-2.95.2-bug.c:11: `asm' operand requires impossible reload
gcc-2.95.2-bug.c:11: `asm' operand requires impossible reload
nanook:ma_int64% /home/trevin/eyrx/bin/i586-eyrx-coff-gcc -V 2.8.1 -O2 -S
gcc-2.95.2-bug.c -o gcc-2.8.1-no_bug.s
i586-eyrx-coff-gcc: Warning: use of obsolete %[ operator in specs

(gcc-2.8.1-no_bug.s was written, but there was no output from 2.95.2.)

Additional notes:
This error does not appear without optimizations.


More information about the Gcc-bugs mailing list