Mail Archives: pgcc/1999/05/08/08:58:04
Hi,
I tried to compile gdb-1.18 with (home-compiled) pgcc 1.1.3 with
-march=pentiumpro and -O6 on my
pentiumII/350Mhz (slackware 3.5) and got the following compiler error:
gcc -c -march=pentiumpro -O6 -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../intl -I./../intl -I./tui valarith.c
valarith.c: In function `value_binop':
valarith.c:1020: internal error--insn does not satisfy its constraints:
(insn:HI 1375 1662 1665 (set (reg:DI 0 %eax)
(if_then_else:DI (leu:DI (reg/v:DI 3 %ebx)
(reg:DI 0 %eax))
(reg/v:DI 3 %ebx)
(reg:DI 0 %eax))) 405 {movdicc+2} (insn_list 909 (nil))
(expr_list:REG_DEAD (reg/v:DI 3 %ebx)
(nil)))
../../gcc/toplev.c:1438: Internal compiler error in function fatal_insn
make[1]: *** [valarith.o] Error 1
make[1]: Leaving directory `/home/bijwaard/compiling/gdb-4.18/gdb'
make: *** [all-gdb] Error 2
node118b0:~/compiling/gdb-4.18$ gcc --version
pgcc-2.91.66
node118b0:~/compiling/gdb-4.18$ echo $CFLAGS
-march=pentiumpro -O6
Adding -mpentiumpro has no effect. I tried all optimisations -O -O1 -O2
-O3 -O4 -O5,
and none of them worked. Only without optimisation or without
-march=pentiumpro I able
to compile this source.
so both:
gcc -c -march=pentiumpro -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../intl -I./../intl -I./tui valarith.c
and:
gcc -c -O6 -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode
-I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl
-I./../intl -I./tui valarith.c
worked fine. Also after compiling this source by hand, the rest of
gdb-4.18 compiled without
problem.
Please notify me on any progress on this problem (I have seen related
problems with compiling other
programs) because I'm not on the pgcc bug mailing list.
--
Kind regards,
Dennis Bijwaard (bijwaard AT speed DOT a2000 DOT nl)
http://people.a2000.nl/dbijwaar
- Raw text -