🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by mycroft Mon, 11 Jan 1993 08:28
[i386-unknown-bsd] internal error
#1627
Author: mycroft
Date: Mon, 11 Jan 1993 08:28
43 lines
2132 bytes
This seems to go away if I omit the `-traditional'.

bash# gcc -v -traditional -O util.c
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-bsd/2.3.3/specs
gcc version 2.3.3
 /usr/local/lib/gcc-lib/i386-unknown-bsd/2.3.3/cpp -lang-c -v -undef -D__GNUC__=2 -Dunix -Di386 -D____386BSD____ -D__386BSD__ -DBSD_NET2 -D__unix__ -D__i386__ -D____386BSD____ -D__386BSD__ -D__BSD_NET2__ -D__unix -D__i386 -D____386BSD____ -D__386BSD__ -D__BSD_NET2 -D__OPTIMIZE__ -traditional util.c /var/tmp/cc003872.i
GNU CPP version 2.3.3 (80386, BSD syntax)
 /usr/local/lib/gcc-lib/i386-unknown-bsd/2.3.3/cc1 /var/tmp/cc003872.i -quiet -dumpbase util.c -O -traditional -version -o /var/tmp/cc003872.s
GNU C version 2.3.3 (80386, BSD syntax) compiled by GNU C version 2.3.3.
util.c: In function `mypopen':
util.c:15: internal error--unrecognizable insn:
(insn 16 15 75 (parallel[ 
            (set (reg:CC 30)
                (compare:CC (mem:BLK (reg:SI 25))
                    (mem:BLK (reg:SI 26))))
            (use (reg:SI 27))
            (use (const_int 1))
            (clobber (reg:SI 25))
            (clobber (reg:SI 26))
            (clobber (reg:SI 27))
        ] ) -1 (insn_list 11 (insn_list 13 (insn_list 15 (nil))))
    (expr_list:REG_UNUSED (reg:SI 25)
        (expr_list:REG_UNUSED (reg:SI 26)
            (expr_list:REG_UNUSED (reg:SI 27)
                (nil)))))
gcc: Internal compiler error: program cc1 got fatal signal 6
bash# cat util.c
int
mypopen(cmd)
char *cmd;
{
    int p[2];
    register int pid;
    int doexec = strcmp(cmd,"-");

    if (pipe(p) < 0)
        return -1;
    while ((pid = (doexec?vfork():fork())) < 0) {
    }
    close(p[1]);
    return p[0];
}
bash# 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads