This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj/164
- To: tromey at cygnus dot com
- Subject: Re: gcj/164
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: 6 Jun 2000 05:50:00 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Bryce McKinlay <bryce at albatross dot co dot nz>
The following reply was made to PR gcj/164; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: java-gnats@sourceware.cygnus.com, tromey@cygnus.com, bryce@albatross.co.nz
Cc:
Subject: Re: gcj/164
Date: Tue, 06 Jun 2000 17:44:09 +1200
There appears to be a problem with this patch. Building the test case
now results in an ICE:
(gdb) r Volatile.java -fno-use-divide-subroutine
-fasynchronous-exceptions -quie
t -g1 -version -o /tmp/ccLJoJNC.s
Starting program: /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.96/jc1
Volatile
.java -fno-use-divide-subroutine -fasynchronous-exceptions -quiet -g1
-version -
o /tmp/ccLJoJNC.s
GNU Java version 2.96 20000605 (experimental) (i686-pc-linux-gnu)
compiled by GN
U C version 2.96 20000601 (experimental).
Program received signal SIGSEGV, Segmentation fault.
0x8050dbd in issue_warning_error_from_context (cl=0x0,
msg=0x823ebe0 "Inconsistent member declaration. At most one of
`final' or `
volatile' may be specified", ap=0xbfffefa8) at ./parse.y:2976
2976 ./parse.y: No such file or directory.
(gdb) bt
#0 0x8050dbd in issue_warning_error_from_context (cl=0x0,
msg=0x823ebe0 "Inconsistent member declaration. At most one of
`final' or `
volatile' may be specified", ap=0xbfffefa8) at ./parse.y:2976
#1 0x8050e67 in parse_error_context (cl=0x0,
msg=0x823ebe0 "Inconsistent member declaration. At most one of
`final' or `
volatile' may be specified") at ./parse.y:3009
#2 0x8053962 in check_modifiers_consistency (flags=80) at
./parse.y:4621
#3 0x804dc61 in java_parse () at ./parse.y:898
#4 0x80788a2 in parse_source_file (file=0x82c6788)
at ../../../gcc/java/jcf-parse.c:772
#5 0x8078c99 in yyparse () at ../../../gcc/java/jcf-parse.c:905
#6 0x808383c in compile_file (name=0xbffffa93 "Volatile.java")
at ../../gcc/toplev.c:2288
#7 0x8086b53 in main (argc=9, argv=0xbffff924) at
../../gcc/toplev.c:4702
It appears that issue_warning_error_from_context() doesn't like a NULL
class argument.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=164&database=java