This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]