From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 417 invoked by alias); 16 Apr 2002 10:56:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 378 invoked by uid 71); 16 Apr 2002 10:56:02 -0000 Resent-Date: 16 Apr 2002 10:56:02 -0000 Resent-Message-ID: <20020416105602.377.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, andreas.lenz@handy-games.com Received:(qmail 26141 invoked from network); 16 Apr 2002 10:48:30 -0000 Received: from unknown (HELO Twisty.local) (80.133.254.56) by sources.redhat.com with SMTP; 16 Apr 2002 10:48:30 -0000 Received: (from bosk@localhost) by Twisty.local (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id g3GAmEf30547; Tue, 16 Apr 2002 12:48:14 +0200 Message-Id:<200204161048.g3GAmEf30547@Twisty.local> Date: Tue, 16 Apr 2002 03:56:00 -0000 From: andreas.lenz@handy-games.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:3.113 Subject: java/6319: gcj segfault on empty .java file X-SW-Source: 2002-04/txt/msg00827.txt.bz2 List-Id: >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: