aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
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/jcf-parse.c
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/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c2
1 files changed, 1 insertions, 1 deletions
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;