public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/8608] segmentation fault on compiling bad program
       [not found] <20021116043603.8608.165635@bugs.debian.org>
@ 2004-10-10 20:01 ` timo dot lindfors at iki dot fi
  2005-02-02 20:06 ` rmathew@gcc.gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: timo dot lindfors at iki dot fi @ 2004-10-10 20:01 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From timo dot lindfors at iki dot fi  2004-10-10 20:01 -------
This seems to be still alive,

$ gcj -C Bug165635.java
Bug165635.java: In class `Bug165635':
Bug165635.java: In method `Bug165635.main(java.lang.String[])':
Bug165635.java:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcj -v
Reading specs from
/home/lindi/installdir/installdir-gcc-20041009/lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Reading specs from
/home/lindi/installdir/installdir-gcc-20041009/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../configure
--prefix=/home/lindi/installdir/installdir-gcc-20041009
Thread model: posix
gcc version 4.0.0 20041009 (experimental)


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/8608] segmentation fault on compiling bad program
       [not found] <20021116043603.8608.165635@bugs.debian.org>
  2004-10-10 20:01 ` [Bug java/8608] segmentation fault on compiling bad program timo dot lindfors at iki dot fi
@ 2005-02-02 20:06 ` rmathew@gcc.gnu.org
  2005-02-09 14:05 ` rmathew at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: rmathew@gcc.gnu.org @ 2005-02-02 20:06 UTC (permalink / raw)
  To: java-prs

------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/8608] segmentation fault on compiling bad program
       [not found] <20021116043603.8608.165635@bugs.debian.org>
  2004-10-10 20:01 ` [Bug java/8608] segmentation fault on compiling bad program timo dot lindfors at iki dot fi
  2005-02-02 20:06 ` rmathew@gcc.gnu.org
@ 2005-02-09 14:05 ` rmathew at gcc dot gnu dot org
  2005-03-01 19:16 ` cvs-commit at gcc dot gnu dot org
  2005-04-21 16:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2005-02-09 14:05 UTC (permalink / raw)
  To: java-prs


------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/8608] segmentation fault on compiling bad program
       [not found] <20021116043603.8608.165635@bugs.debian.org>
                   ` (2 preceding siblings ...)
  2005-02-09 14:05 ` rmathew at gcc dot gnu dot org
@ 2005-03-01 19:16 ` cvs-commit at gcc dot gnu dot org
  2005-04-21 16:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01 19:16 UTC (permalink / raw)
  To: java-prs


------- 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:	bothner@gcc.gnu.org	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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug java/8608] segmentation fault on compiling bad program
       [not found] <20021116043603.8608.165635@bugs.debian.org>
                   ` (3 preceding siblings ...)
  2005-03-01 19:16 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-21 16:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-21 16:36 UTC (permalink / raw)
  To: java-prs


------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-21 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021116043603.8608.165635@bugs.debian.org>
2004-10-10 20:01 ` [Bug java/8608] segmentation fault on compiling bad program timo dot lindfors at iki dot fi
2005-02-02 20:06 ` rmathew@gcc.gnu.org
2005-02-09 14:05 ` rmathew at gcc dot gnu dot org
2005-03-01 19:16 ` cvs-commit at gcc dot gnu dot org
2005-04-21 16:36 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).