]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR java/17779 (ICE: Seg fault)
authorAndrew Haley <aph@redhat.com>
Fri, 4 Jan 2008 15:13:53 +0000 (15:13 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 4 Jan 2008 15:13:53 +0000 (15:13 +0000)
2008-01-04  Andrew Haley  <aph@redhat.com>

        PR java/17779
        * jcf-parse.c (parse_zip_file_entries): Move decl to compile on
        C90.

From-SVN: r131324

gcc/java/ChangeLog
gcc/java/jcf-parse.c

index 7392287cd4975cbe8e9858ba7ded8202e74a7c9c..3d8701795dc35114376d5965931cf4c3c06dda66 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-04  Andrew Haley  <aph@redhat.com>
+
+       PR java/17779
+       * jcf-parse.c (parse_zip_file_entries): Move decl to compile on
+       C90.
+
 2008-01-03  Andrew Haley  <aph@redhat.com>
 
        PR java/17779
index 8aa007c9924041b1da571b97abdb8624ce0efbe8..c3fe524789194493348e2ffc7079ad17c5ba652b 100644 (file)
@@ -2075,8 +2075,8 @@ parse_zip_file_entries (void)
        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;