home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!mycroft
- From: mycroft@gnu.ai.mit.edu
- Subject: [i386-unknown-bsd] internal error
- Message-ID: <9301111828.AA06150@hal.gnu.ai.mit.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 11 Jan 1993 08:28:10 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 45
-
- 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#
-
-
-