Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SRC.HONEYWELL.COM!guccione From: guccione@SRC.HONEYWELL.COM (Steve Guccione) Newsgroups: gnu.gcc.bug Subject: Gnu C Bug (sorta) Message-ID: <8908061954.AA09850@voltron.src.honeywell.com> Date: 6 Aug 89 19:54:12 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 69 I am sending in a bug report for a somewhat small problem I have encountered in installing Gnu C. I am attempting to put the compiler on the System resourse Manager (SRM) for an Intel iPSC/2 Hypercube. This SRM is actually an Intel 386 machine running Unix System V (or at least what they claim is System V). The default C compiler in Green Hills C. When installing gcc, the green Hills compiler barfed on a ELSE statement in the READER.C file on line 269. After some testing it seems that the Green Hills compiler cannot handle the comment directly following the "else". Adding a space between the two seems to fix the problem. I realize that this is not exactly your problem, but rather one with the Green Hills C (which is another good reason to use Gnu C!). But if you could addaspace before the comment in the next release, it may save some other poor engineer / system administrator from trying to figure this out. (Note: It is not obvious that placement of a comment would give the strange error messages received). On a personal note, thanks much for the work you are doing. It is good to see some high quality software has been made available in this fashion. I have recommended that our research center, and Honeywell support Gnu, and I believe this is happening. I hope one day I will be able to make a more personal contribution to you effort. Thanks Again. -- Steve -- 8/6/89 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Steve Guccione Honeywell Systems and Research Center MAIL: 3660 Technology Dr. Minneapolis, MN 55413 PHONE: (612) 782-7311 ARPA: guccione@src.honeywell.com UUCP: {umn-cs, ems, bthpyd}!srcsip!guccione ---------- "Bug" follows: ------------------------ Simple example of source code: #include main () { int c=1; if (c == 1) printf("c is 1.\n"); else/* This is a comment */ printf("c is 2.\n"); } Response of the Green Hills C-386: C-386 1.8.4b Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. "test.c", line 11: Undefined symbol: else "test.c", line 11: expected: ';' got: name