https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92753

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Dec 21 16:19:42 2019
New Revision: 279696

URL: https://gcc.gnu.org/viewcvs?rev=279696&root=gcc&view=rev
Log:
2019-12-21  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/92753
        * expr.c (find_inquiry_ref): Catch INQUIRY_LEN case, where the
        temporary expression has been converted to a constant and make
        the new expression accordingly. Correct the error in INQUIRY_RE
        and INQUIRY_IM cases. The original rather than the resolved
        expression was being used as the source in mpfr_set.

2019-12-21  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/92753
        * gfortran.dg/inquiry_type_ref_5.f90 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/inquiry_type_ref_5.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to