diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 8ddfeb52183..94031d87ed3 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 20 12:45:53 1998 Craig Burley + + * expr.c (ffeexpr_token_arguments_): Make sure + outer exprstack isn't null. + Fri Feb 20 10:11:20 1998 Craig Burley * Make-lang.in (f77.install-info): Fix typo in script. diff --git a/gcc/f/expr.c b/gcc/f/expr.c index 4d618db23b3..8dbab2f3099 100644 --- a/gcc/f/expr.c +++ b/gcc/f/expr.c @@ -18540,6 +18540,7 @@ ffeexpr_token_arguments_ (ffelexToken ft, ffebld expr, ffelexToken t) only if next token isn't the close-paren for REAL(me). */ if ((ffeexpr_stack_->previous != NULL) + && (ffeexpr_stack_->previous->exprstack != NULL) && (ffeexpr_stack_->previous->exprstack->type == FFEEXPR_exprtypeOPERAND_) && ((reduced = ffeexpr_stack_->previous->exprstack->u.operand) != NULL) && (ffebld_op (reduced) == FFEBLD_opSYMTER) diff --git a/gcc/f/news.texi b/gcc/f/news.texi index 3b9ece36f54..2853dfd13d1 100644 --- a/gcc/f/news.texi +++ b/gcc/f/news.texi @@ -27,6 +27,10 @@ involve a combination of these elements. @heading In 0.5.22: @itemize @bullet @item +Fix a compiler crash on statements such as +@samp{PRINT *, (REAL(Z(I)),I=1,2)}, where +@samp{Z} is @code{DOUBLE COMPLEX}. + @item Improve diagnostic messages from @code{libf2c} so it is more likely that the printing of the @@ -47,6 +51,7 @@ is a constant. This provides a cleaner run-time diagnostic as provided by @code{libf2c} for statements like @samp{PRINT '(I1', 42}. +@item Fix @code{SIGNAL} intrinsic so it offers portable support for 64-bit systems (such as Digital Alphas running GNU/Linux).