public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/7763: ICE on stray semicolon inside statement
@ 2002-08-29 14:06 jmr
  0 siblings, 0 replies; 2+ messages in thread
From: jmr @ 2002-08-29 14:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7763
>Category:       java
>Synopsis:       ICE on stray semicolon inside statement
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 12:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Rosenstock
>Release:        3.3 20020828 (experimental)
>Organization:
>Environment:
System: Linux churchill 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --prefix=/home/user/jmr/app/gcc --enable-langs=c++,java --enable-shared --enable-threads=posix --with-as=/home/user/jmr/app/binutils/bin/as --with-ld=/home/user/jmr/app/binutils/bin/ld : (reconfigured) 
>Description:
        ICE on stray semicolon inside statement "new String(;);"
>How-To-Repeat:
	
; cat StraySemiTest.java
public class StraySemiTest {
    public static void main(String[] s) {
        new String(;);
    }
}

; gcj -v StraySemiTest.java
Reading specs from /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Reading specs from /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../gcc/configure --prefix=/home/user/jmr/app/gcc --enable-langs=c++,java --enable-shared --enable-threads=posix --with-as=/home/user/jmr/app/binutils/bin/as --with-ld=/home/user/jmr/app/binutils/bin/ld : (reconfigured) 
Thread model: posix
gcc version 3.3 20020828 (experimental)
 /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.3/jc1 StraySemiTest.java -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase StraySemiTest.java -auxbase StraySemiTest -g1 -version -o /tmp/ccnbN9p3.s
GNU Java version 3.3 20020828 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.3 20020820 (experimental).
Class path starts here:
    ./
    /home/user/jmr/app/gcc/share/java/libgcj-3.3.jar/ (system) (zip)
StraySemiTest.java:3: error: ')' or term expected.
           new String(;);
                      ^
StraySemiTest.java:3: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: java/7763: ICE on stray semicolon inside statement
@ 2002-09-23 12:26 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2002-09-23 12:26 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, jmr, nobody, tromey

Synopsis: ICE on stray semicolon inside statement

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Sep 23 12:26:07 2002
Responsible-Changed-Why:
    I'm handling this
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Mon Sep 23 12:26:07 2002
State-Changed-Why:
    I tried this using the current trunk.
    I don't see an ICE.  Instead gcc exits as expected.
    So, I'm closing the PR.
    
    If this still happens for you, could you send a
    stack trace of jc1?  That might help.  We can reopen
    the PR if need be.
    
    Thanks.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7763


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

end of thread, other threads:[~2002-09-23 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 14:06 java/7763: ICE on stray semicolon inside statement jmr
2002-09-23 12:26 tromey

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