egcs-2.91.60 on powerpc-ibm-aix4.3.2.0: internal errors with DDD 3.1.3

Lassi A. Tuura lat@iki.fi
Mon Mar 1 09:17:00 GMT 1999


Hi,

While compiling DDD 3.1.3 (the data display debugger) on
powerpc-ibm-aix4.3.2.0 I get the following errors (first the commands
and errors, then an elaborated version for one of the files): 

Building ddd-3.1.3-powerpc-ibm-aix4.3.2.0...
c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -Wno-uninitialized -Wno-return-type -Wno-trigraphs -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I../../../ddd-3.1.3/ddd -I../../../ddd-3.1.3/ddd/.. -I/usr/include  -o logplayer
.o ../../../ddd-3.1.3/ddd/logplayer.C
../../../ddd-3.1.3/ddd/logplayer.C: In function `void logplayer(const class string &)':
../../../ddd-3.1.3/ddd/logplayer.C:390: internal error--unrecognizable insn:
(insn 15161 15158 5150 (set (reg:SI 18 r18)
        (mem:SI (plus:SI (reg:SI 18 r18)
                (const_int 65536)))) -1 (insn_list 15158 (nil))
    (nil))
toplev.c:1360: Internal compiler error in function fatal_insn
make: *** [logplayer.o] Error 1
c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -Wno-uninitialized -Wno-return-type -Wno-trigraphs -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I../../../ddd-3.1.3/ddd -I../../../ddd-3.1.3/ddd/.. -I/usr/include  -o options.o
 ../../../ddd-3.1.3/ddd/options.C
../../../ddd-3.1.3/ddd/options.C: In function `bool save_options(long unsigned int)':
../../../ddd-3.1.3/ddd/options.C:2770: internal error--unrecognizable insn:
(insn 52373 48253 52374 (set (mem:SI (plus:SI (reg:SI 12 r12)
                (const_int 65536)))
        (reg:SI 15 r15)) -1 (insn_list 48253 (insn_list 52370 (nil)))
    (nil))
toplev.c:1360: Internal compiler error in function fatal_insn
make: *** [options.o] Error 1
c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -Wno-uninitialized -Wno-return-type -Wno-trigraphs -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I../../../ddd-3.1.3/ddd -I../../../ddd-3.1.3/ddd/.. -I/usr/include  -o DispBox.o
 ../../../ddd-3.1.3/ddd/DispBox.C
Assembler:
/tmp/ccsw2HKA.s: line 10724: This instruction form is not valid for PowerPC.
The register used in operand two must not be zero and
must not be the same as the register used in operand one.
make: *** [DispBox.o] Error 1
make: *** No rule to make target `ddd-3.1.3-powerpc-ibm-aix4.3.2.0', needed by `ddd'.
make: *** No rule to make target `ddd', needed by `ddd-done'.
make: Target `all' not remade because of errors.


Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
 /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/egcs-2.91.60/cpp -lang-c++ -v -I. -I../../../ddd-3.1.3/ddd -I../../../ddd-3.1.3/ddd/.. -I/usr/include -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AI
X41 -D_AIX43 -D_LONG_LONG -D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_LONG_LONG -Asystem(unix) -Asystem(aix) -D__EXCEPTIONS -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -trigraphs -g -W -Wall -Wno-uninitialized -Wno-return-type -Wno-trigraphs -D_ARCH_COM
 -DHAVE_CONFIG_H -DNDEBUG ../../../ddd-3.1.3/ddd/options.C /tmp/ccoa9uIf.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../../ddd-3.1.3/ddd
 ../../../ddd-3.1.3/ddd/..
 /usr/include
 /usr/local/include/g++
 /usr/local/include
 /usr/local/powerpc-ibm-aix4.3.2.0/include
 /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/egcs-2.91.60/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/egcs-2.91.60/cc1plus /tmp/ccoa9uIf.ii -quiet -dumpbase options.cc -g -O2 -W -Wall -Wno-uninitialized -Wno-return-type -Wno-trigraphs -version -fexternal-templates -felide-constructors -fconserve-space -o /tmp
/ccHuNifh.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release) (powerpc-ibm-aix4.3.2.0) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
../../../ddd-3.1.3/ddd/options.C: In function `bool save_options(long unsigned int)':
../../../ddd-3.1.3/ddd/options.C:2770: internal error--unrecognizable insn:
(insn 52373 48253 52374 (set (mem:SI (plus:SI (reg:SI 12 r12)
                (const_int 65536)))
        (reg:SI 15 r15)) -1 (insn_list 48253 (insn_list 52370 (nil)))
    (nil))
toplev.c:1360: Internal compiler error in function fatal_insn

If you need more information, let me know.  To repeat the bug, just
download the DDD 3.1.3 from http://www.cs.tu-bs.de/softech/ddd/ ,
configure and build (I've added option -Wno-return-type -Wno-trigraphs
to avoid gobs of warnings from X11 and other system headers).  I know
little about the internals of DDD myself, but am happy to help if
instructed what to do.  If you think you want preprocessed output, let
me know.

Cheers,
//lat
--
With sufficient thrust, pigs fly just fine.  However, this is not
necessarily a good idea.  It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  --RFC1925, "The Twelve Networking Truths"




More information about the Gcc-bugs mailing list