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

--- Comment #19 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Dec 21 19:09:42 2018
New Revision: 267337

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

        PR fortran/87881
        * expr.c (find_inquiry_ref): Loop through the inquiry refs in
        case there are two of them.
        (simplify_ref_chain): Return true after a successful call to
        find_inquiry_ref.

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

        PR fortran/87881
        * gfortran.dg/inquiry_part_ref_4.f90: New test.


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

Reply via email to