This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/6319: gcj segfault on empty .java file
- From: andreas dot lenz at handy-games dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: Tue, 16 Apr 2002 12:48:14 +0200
- Subject: java/6319: gcj segfault on empty .java file
>Number: 6319
>Category: java
>Synopsis: compiling an empty .java file failes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Apr 16 03:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0.4
>Organization:
>Environment:
System: Linux Twisty 2.4.0 #5 Mit Mai 30 16:05:26 CEST 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure
>Description:
I use the c preprocessor on .java code and some .java files only have some empty lines if DEBUG is 0
Compiling these files causes gcj to segfaulti.
It's no big thing, I even don't know, if empty .java files are allowed, but gcj suggests to
fill out a bug report...
Greets
Andi
>How-To-Repeat:
>Fix:
I have
#else
public class debug_report {}
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: