Sender: bijwaard AT a2000 DOT nl Message-ID: <3734346A.40AC5167@Speed.a2000.nl> Date: Sat, 08 May 1999 14:56:10 +0200 From: "Dennis J.A. Bijwaard" X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: pgcc 1.1.3 internal compiler error on gdb 4.18 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com 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