[Bug fortran/77351] ICE in remove_trim, at frontend-passes.c:1145

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 30 19:21:00 GMT 2016


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

--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Sep 30 19:21:12 2016
New Revision: 240678

URL: https://gcc.gnu.org/viewcvs?rev=240678&root=gcc&view=rev
Log:
2016-09-30  Steven g. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk

        PR fortran/77351
        * frontend-passes.c (remove_trim,combine_array_constructor): Check for
        NULL pointer.

        PR fortran/77351
        * gfortran.dg/pr77351.f90: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr77351.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/frontend-passes.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list