aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/options.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2018-05-20 10:08:24 +0000
committerPaul Thomas <pault@gcc.gnu.org>2018-05-20 10:08:24 +0000
commit9ad8aaf839866994905bf577bcf2a1dee1b8a01a (patch)
treec3f2c693b3e0fe51513d73a0fd51bb4be92f9c9a /gcc/fortran/options.c
parentf82f425b56a1ccf1950c6d0992e7c106558acba0 (diff)
downloadgcc-9ad8aaf839866994905bf577bcf2a1dee1b8a01a.zip
gcc-9ad8aaf839866994905bf577bcf2a1dee1b8a01a.tar.gz
gcc-9ad8aaf839866994905bf577bcf2a1dee1b8a01a.tar.bz2
re PR fortran/80657 (Loop in character function declaration)
2018-05-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/80657 * resolve.c (flag_fn_result_spec): Use the 'sym' argument to test for self refs to the function result in the character len expression. If a self reference is found, emit an error and return true. (resolve_fntype): Use the function symbol in the calls to the above. 2018-05-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/80657 * gfortran.dg/char_result_18.f90: New test. From-SVN: r260415
Diffstat (limited to 'gcc/fortran/options.c')
0 files changed, 0 insertions, 0 deletions