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/70350] [5 Regression] ICE with -fcheck=all and array initialization


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

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Jun  2 17:44:59 2016
New Revision: 237043

URL: https://gcc.gnu.org/viewcvs?rev=237043&root=gcc&view=rev
Log:
2016-06-02  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/70350
        Backport from trunk.
        * trans-expr.c (gfc_trans_assignment_1): Exclude initialization
        assignments from check on assignment of scalars to unassigned
        arrays and correct wrong code within the corresponding block.

Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-expr.c

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