[Bug java/8608] segmentation fault on compiling bad program

2005-04-21 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-21 
16:35 ---
Fixed in 4.1.0 and above.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8608


[Bug java/8608] segmentation fault on compiling bad program

2005-03-01 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-01 
17:25 ---
Subject: Bug 8608

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-03-01 17:24:55

Modified files:
gcc/java   : check-init.c ChangeLog 

Log message:
PR java/8608
* check-init.c (wfl): Remove static.
(final_assign_error, check_init): Replace calls to parse_error_context
by plain error.
(check_init): Save, set, and restore input_location for each exp.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/check-init.c.diff?cvsroot=gcc&r1=1.63&r2=1.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1558&r2=1.1559



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8608


[Bug java/8608] segmentation fault on compiling bad program

2005-02-09 Thread rmathew at gcc dot gnu dot org

--- Additional Comments From rmathew at gcc dot gnu dot org  2005-02-09 
13:50 ---
An ugly patch is here:

http://gcc.gnu.org/ml/java-patches/2005-q1/msg00303.html

-- 
   What|Removed |Added

   Keywords||patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8608


[Bug java/8608] segmentation fault on compiling bad program

2005-02-07 Thread rmathew at gcc dot gnu dot org

--- Additional Comments From rmathew at gcc dot gnu dot org  2005-02-07 
13:06 ---
The simplest testcase that reproduces this bug with
the current mainline is:

class Foo
{
  void bar()
  {
int a;
int i;
for(i=a;;);
  }
}

If the "int i" is removed and the for loop
is changed to "for(int i=a;;);", the ICE
disappears.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8608