diff options
author | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-05-14 19:29:33 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-05-14 19:29:33 +0000 |
commit | 1af5627c40801eb1715b9ac1eadff50d1de46288 (patch) | |
tree | 881664a2a668dabf5b889bcf482119a96600fb05 /gcc/fortran/f95-lang.c | |
parent | 9c40feebdbb2bf7edd0dc43709ea47de67130a59 (diff) | |
download | gcc-1af5627c40801eb1715b9ac1eadff50d1de46288.zip gcc-1af5627c40801eb1715b9ac1eadff50d1de46288.tar.gz gcc-1af5627c40801eb1715b9ac1eadff50d1de46288.tar.bz2 |
re PR fortran/31725 ([4.1 only] substring bound evaluated multiple times: wrong code for string(function():) = 'X')
PR fortran/31725
* trans-expr.c (gfc_conv_substring): Evaluate substring bounds
only once.
* gfortran.dg/substr_4.f: New test.
From-SVN: r124720
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions