This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR java/17779: ICE: Seg fault
- From: Andrew Haley <aph at redhat dot com>
- To: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 4 Jan 2008 15:12:51 +0000
- Subject: Re: PR java/17779: ICE: Seg fault
- References: <18302.4325.922107.289990@zebedee.pink>
Andrew Haley writes:
> The old kludge to work around this corner case broke, so this is a
> new, improved kludge.
Sorry, made a checkin mistake. Fixed thusly.
Andrew.
2008-01-04 Andrew Haley <aph@redhat.com>
PR java/17779
* jcf-parse.c (parse_zip_file_entries): Move decl to compile on
C90.
Index: jcf-parse.c
===================================================================
--- jcf-parse.c (revision 131319)
+++ jcf-parse.c (working copy)
@@ -2075,8 +2075,8 @@
case 1:
{
char *class_name = compute_class_name (zdir);
- class = lookup_class (get_identifier (class_name));
int previous_alias_set = -1;
+ class = lookup_class (get_identifier (class_name));
FREE (class_name);
current_jcf = TYPE_JCF (class);
output_class = current_class = class;
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903