[Bug fortran/80164] ICE in gfc_format_decoder at gcc/fortran/error.c:933

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 19 08:25:00 GMT 2017


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

--- Comment #15 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri Aug 18 21:36:50 2017
New Revision: 251189

URL: https://gcc.gnu.org/viewcvs?rev=251189&root=gcc&view=rev
Log:
2017-08-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        Backport from trunk
        PR fortran/80164
        * trans-stmt.c (gfc_trans_call): If no code expr, use code->loc
        as warning/error locus.

        * gfortran.dg/array_temporaries_4.f90: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/array_temporaries_4.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-stmt.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list