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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>:

https://gcc.gnu.org/g:55385f12f604fe242030f0a8fb057598c0f187a6

commit r12-6336-g55385f12f604fe242030f0a8fb057598c0f187a6
Author: Sandra Loosemore <san...@codesourcery.com>
Date:   Thu Jan 6 11:23:18 2022 -0800

    Fortran: Fix handling of optional argument to SIZE intrinsic [PR103898]

    This patch fixes a think-o in the code that triggered an ICE
    in the test case.

    2021-01-06  Sandra Loosemore  <san...@codesourcery.com>

            PR fortran/103898

            gcc/fortran/
            * trans-intrinsic.c (gfc_conv_intrinsic_size): Make size_var
            actually be a variable and fix surrounding code.

            gcc/testsuite/
            * gfortran.dg/pr103898.f90: New test.

Reply via email to