diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-14 12:44:19 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-14 12:44:19 +0000 |
commit | 24756408ba55089ff67ae54e1e1fad656f5f031d (patch) | |
tree | 8db602af3b13c045381240aefc6106c915111741 /gcc/double-int.h | |
parent | f8629d35250f213e578495c341dee3940acea1b9 (diff) | |
download | gcc-24756408ba55089ff67ae54e1e1fad656f5f031d.tar.gz |
PR fortran/32594
* trans-expr.c (gfc_conv_substring_expr): Only call
gfc_conv_substring if expr->ref is not NULL.
* expr.c (gfc_is_constant_expr): If e->ref is NULL, the substring
expression might be a constant.
(gfc_simplify_expr): Handle missing start and end, as well as
missing ref.
* gfortran.dg/substr_5.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127478 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/double-int.h')
0 files changed, 0 insertions, 0 deletions