This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/83224] creating character array from elements shorter than declared does not pad with whitespace properly and aborts
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 01 Dec 2017 07:36:22 +0000
- Subject: [Bug fortran/83224] creating character array from elements shorter than declared does not pad with whitespace properly and aborts
- Auto-submitted: auto-generated
- References: <bug-83224-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83224
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Dec 1 07:35:50 2017
New Revision: 255294
URL: https://gcc.gnu.org/viewcvs?rev=255294&root=gcc&view=rev
Log:
2017-12-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/83224
* frontend-passes.c (realloc_string_callback): Handle
case for which the RHS is an array expression.
2017-12-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/83224
* gfortran.dg/dependency_50.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/dependency_50.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/frontend-passes.c
trunk/gcc/testsuite/ChangeLog