This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR java/17779: ICE: Seg fault


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]