Chybka v gcc?
Ales Cepek
cepek na fsv.cvut.cz
Středa Listopad 26 15:04:40 CET 1997
On Wed, 26 Nov 1997, Pavel Machek wrote:
> > On Wed, 26 Nov 1997, Jaroslav Benkovsky wrote:
> .......
> Me to crashlo. Muzes to zkusit na atreyovi.
>
> Vysledek:
> pavel na k5-15:~$ gcc -Q --verbose /tmp/delme.c
> Reading specs from /usr/lib/gcc-lib/i586-unknown-linux/2.7.2.1/specs
.......
> fngcc: Internal compiler error: program cc1 got fatal signal 6
> pavel na k5-15:~$
bash-2.00$
bash-2.00$
bash-2.00$ cat ttt.c
void fn()
{
int op;
if (op < 0)
op = 1 / (op > 0);
}
bash-2.00$
bash-2.00$ gcc -Q --verbose -c ttt.c
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1
/usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -
D__i486__ ttt.c /tmp/cca21982.i
GNU CPP version 2.7.2.1 (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/i486-linux/include
/usr/lib/gcc-lib/i486-linux/2.7.2.1/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i486-linux/2.7.2.1/cc1 /tmp/cca21982.i -dumpbase ttt.c -version -o /tmp/cca21982.s
GNU C version 2.7.2.1 (i386 Linux/ELF) compiled by GNU C version 2.7.2.1.
enabled: -fpeephole -ffunction-cse -fpcc-struct-return -fcommon -fgnu-linker
-m80387 -mhard-float -mno-soft-float -mno-386 -m486 -mieee-fp
-mfp-ret-in-387
fn
time in parse: 0.010000
time in integration: 0.000000
time in jump: 0.000000
time in cse: 0.000000
time in loop: 0.000000
time in cse2: 0.000000
time in flow: 0.000000
time in combine: 0.000000
time in sched: 0.000000
time in local-alloc: 0.000000
time in global-alloc: 0.010000
time in sched2: 0.000000
time in dbranch: 0.000000
time in shorten-branch: 0.000000
time in stack-reg: 0.000000
time in final: 0.000000
time in varconst: 0.000000
time in symout: 0.000000
time in dump: 0.000000
as -V -Qy -o ttt.o /tmp/cca21982.s
GNU assembler version 970202 (i486-linux), using BFD version 2.7.0.9
bash-2.00$
bash-2.00$
Ales Cepek
-------------------------------------------------------------------
katedra mapovani a kartografie <cepek na fsv.cvut.cz>
fakulta stavebni CVUT tel. (02) 2435 3881
Thakurova 7
166 29 Praha
Další informace o konferenci Linux