This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error during gdb 4.17 make


I apologize for sending this again. It appears I screwed up the previous
message.


I get the following error when I try to compile gdb 4.17 with (gcc -v output):

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.00/specs
gcc version egcs-2.92.00 19980819 (gcc2 ss-980609 experimental)

gcc -c -g -save-temps -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline -I../bfd -I./../bfd  -I./../include  valarith.c

or

gcc -c -save-temps -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline -I../bfd -I./../bfd  -I./../include  valarith.c


produces:

valarith.c: In function `value_neg':
valarith.c:1175: internal error--unrecognizable insn:
(insn 231 128 232 (set (reg:SF 40 %f8)
        (neg (reg:SF 36 %f4))) -1 (nil)
    (nil))
../../gcc/toplev.c:1365: Internal compiler error in function fatal_insn


The problem goes away if I specify any level of optimization. The following
works:
gcc -c -O -save-temps -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline -I../bfd -I./../bfd  -I./../include  valarith.c

--
rick ohnemus (rick@ecompcon.com)

valarith.i.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]