aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2005-12-18 14:01:00 +0000
committerPaul Thomas <pault@gcc.gnu.org>2005-12-18 14:01:00 +0000
commite7f79e123c1536f13c4fb2196ad08067f0b256fb (patch)
tree6c71e69c0e04a0262415dfa77065f7d15252abf8 /gcc/expr.c
parentab9a1ff8ee9df7c87c1b1d75ab2424841694cb7b (diff)
downloadgcc-e7f79e123c1536f13c4fb2196ad08067f0b256fb.zip
gcc-e7f79e123c1536f13c4fb2196ad08067f0b256fb.tar.gz
gcc-e7f79e123c1536f13c4fb2196ad08067f0b256fb.tar.bz2
re PR fortran/25018 (Segfault with simple expression)
2005-12-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/25018 *expr.c(check_inquiry): Return FAILURE if there is no symtree to provide a name. Error/warning for assumed character length argument to LEN for an initialization expression, using GFC_GNU_STD. Add an argument to flag that the expression is not restricted. (check_init_expr): Improve the message for a failing variable. (gfc_match_init_expr): Call check_enquiry again to make sure that unsimplified expressions are not causing unnecessary errors. 2005-12-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/25018 *gfortran.dg/initialization_1.f90: New test. *gfortran.dg/enum_5.f90: Change dg-error to new message. *gfortran.dg/g77/980616-0.f: The same. From-SVN: r108753
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions