aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2008-01-04 15:13:53 +0000
committerAndrew Haley <aph@gcc.gnu.org>2008-01-04 15:13:53 +0000
commit578c21cb86c58d3b6e917b3943b78a9d06f54f56 (patch)
tree1b168ca3a69c9fa063a7082d5d1b79377fb44d86 /gcc/java
parentffed8a0113115cd45517924de7e3d77fcc311ed8 (diff)
downloadgcc-578c21cb86c58d3b6e917b3943b78a9d06f54f56.zip
gcc-578c21cb86c58d3b6e917b3943b78a9d06f54f56.tar.gz
gcc-578c21cb86c58d3b6e917b3943b78a9d06f54f56.tar.bz2
re PR java/17779 (ICE: Seg fault)
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
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/jcf-parse.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 7392287..3d87017 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 8aa007c..c3fe524 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -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;