OSDN Git Service

2008-01-04 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2008 15:13:53 +0000 (15:13 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2008 15:13:53 +0000 (15:13 +0000)
        PR java/17779
        * jcf-parse.c (parse_zip_file_entries): Move decl to compile on
        C90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131324 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7392287..3d87017 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 8aa007c..c3fe524 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;