http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53327
Bug #: 53327
Summary: Invalid ASM being generated
Classification: Unclassified
Product: gcc
Version: 4.4.6
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 27380
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27380
Problematic C source file
We have a 64-bit build of GCC 4.4.6 on hppa64-hp-hpux11.31 that, when compiling
a particular .c file, is returning an "Invalid operands" error:
% /opt/TWWfsw/gcc64-44/bin/gcc -v
Reading specs from /opt/TWWfsw/gcc64-44/lib/gcc/hppa64-hp-hpux11.31/4.4/specs
Target: hppa64-hp-hpux11.31
Configured with: /opt/build/gcc-4.4.6/configure --with-included-gettext
--enable-shared --with-gnu-as
--with-as=/opt/TWWfsw/gcc64-44/hppa64-hp-hpux11.31/bin/as
--with-gmp-include=/opt/TWWfsw/libgmp43/include
--with-gmp-lib=/opt/TWWfsw/libgmp43/lib/pa20_64
--with-mpfr-include=/opt/TWWfsw/libmpfr30/include
--with-mpfr-lib=/opt/TWWfsw/libmpfr30/lib/pa20_64
--with-gmp-ldflags=-Wl,+s,+b,/opt/TWWfsw/libgmp43/lib/pa20_64
--with-mpfr-ldflags=-Wl,+s,+b,/opt/TWWfsw/libmpfr30/lib/pa20_64
--datadir=/opt/TWWfsw/gcc64-44/share --with-x --enable-java-awt=xlib
--build=hppa64-hp-hpux11.31 --host=hppa64-hp-hpux11.31
--with-local-prefix=/opt/TWWfsw/gcc64-44
--with-gxx-include-dir=/opt/TWWfsw/gcc64-44/include/c++
--prefix=/opt/TWWfsw/gcc64-44
Thread model: posix
% /opt/TWWfsw/gcc64-44/bin/gcc -O2 -c a.c
/var/tmp//cc8ArhN4.s: Assembler messages:
/var/tmp//cc8ArhN4.s:30: Error: Invalid operands