home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gcc / bug / 3160 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.0 KB  |  58 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!mycroft
  3. From: mycroft@gnu.ai.mit.edu
  4. Subject: [i386-unknown-bsd] internal error
  5. Message-ID: <9301111828.AA06150@hal.gnu.ai.mit.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 11 Jan 1993 08:28:10 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 45
  12.  
  13. This seems to go away if I omit the `-traditional'.
  14.  
  15. bash# gcc -v -traditional -O util.c
  16. Reading specs from /usr/local/lib/gcc-lib/i386-unknown-bsd/2.3.3/specs
  17. gcc version 2.3.3
  18.  /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
  19. GNU CPP version 2.3.3 (80386, BSD syntax)
  20.  /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
  21. GNU C version 2.3.3 (80386, BSD syntax) compiled by GNU C version 2.3.3.
  22. util.c: In function `mypopen':
  23. util.c:15: internal error--unrecognizable insn:
  24. (insn 16 15 75 (parallel[ 
  25.             (set (reg:CC 30)
  26.                 (compare:CC (mem:BLK (reg:SI 25))
  27.                     (mem:BLK (reg:SI 26))))
  28.             (use (reg:SI 27))
  29.             (use (const_int 1))
  30.             (clobber (reg:SI 25))
  31.             (clobber (reg:SI 26))
  32.             (clobber (reg:SI 27))
  33.         ] ) -1 (insn_list 11 (insn_list 13 (insn_list 15 (nil))))
  34.     (expr_list:REG_UNUSED (reg:SI 25)
  35.         (expr_list:REG_UNUSED (reg:SI 26)
  36.             (expr_list:REG_UNUSED (reg:SI 27)
  37.                 (nil)))))
  38. gcc: Internal compiler error: program cc1 got fatal signal 6
  39. bash# cat util.c
  40. int
  41. mypopen(cmd)
  42. char *cmd;
  43. {
  44.     int p[2];
  45.     register int pid;
  46.     int doexec = strcmp(cmd,"-");
  47.  
  48.     if (pipe(p) < 0)
  49.         return -1;
  50.     while ((pid = (doexec?vfork():fork())) < 0) {
  51.     }
  52.     close(p[1]);
  53.     return p[0];
  54. }
  55. bash# 
  56.  
  57.  
  58.