diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1999-05-14 13:44:11 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-05-14 06:44:11 -0700 |
commit | af8b342afe49fbdca4673f95cda3fca92891e054 (patch) | |
tree | aeb2b02f82b5fb61f83f6de55a92a5cd53d09b08 /gcc/java/check-init.c | |
parent | 62dab29cd24953c065bc717e013d2926f9e56901 (diff) | |
download | gcc-af8b342afe49fbdca4673f95cda3fca92891e054.zip gcc-af8b342afe49fbdca4673f95cda3fca92891e054.tar.gz gcc-af8b342afe49fbdca4673f95cda3fca92891e054.tar.bz2 |
[multiple changes]
Fri May 14 12:31:08 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* xref.c (xref_set_current_fp): New function, defined.
* xref.h (xref_set_current_fp): New function, prototyped.
Fri May 14 11:57:54 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* check-init.c (check_init): Take into account that
LABELED_BLOCK_STMT can be empty.
From-SVN: r26935
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r-- | gcc/java/check-init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c index 071faf7..67e2524 100644 --- a/gcc/java/check-init.c +++ b/gcc/java/check-init.c @@ -475,7 +475,8 @@ check_init (exp, before) struct alternatives alt; BEGIN_ALTERNATIVES (before, alt); alt.block = exp; - check_init (LABELED_BLOCK_BODY (exp), before); + if (LABELED_BLOCK_BODY (exp)) + check_init (LABELED_BLOCK_BODY (exp), before); done_alternative (before, &alt); END_ALTERNATIVES (before, alt); return; |