This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Jun 2016 17:45:31 +0000
- Subject: [Bug fortran/70350] [5 Regression] ICE with -fcheck=all and array initialization
- Auto-submitted: auto-generated
- References: <bug-70350-4 at http dot gcc dot gnu dot org/bugzilla/>
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