This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/923: gcc crashes on empty .c files
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/923: gcc crashes on empty .c files
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Wed, 29 Nov 2000 19:33:49 +1100
>Number: 923
>Category: c
>Synopsis: gcc crashes on empty .c files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Nov 29 00:36:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 2.97 20001124 (experimental)
>Organization:
Comp Sci, University of Melbourne
>Environment:
System: Linux hg 2.2.13 #1 Mon Nov 8 20:35:50 GMT 1999 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: configure --prefix=/usr/local/gcc-snapshot : (reconfigured) configure : (reconfigured) configure --prefix=/usr/local/gcc-snapshot
>Description:
GNU C crashes with an internal compiler error when you give it an
empty .c file.
>How-To-Repeat:
$ rm -f foo.c
$ touch foo.c
$ gcc foo.c
foo.c:0: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: