[Bug fortran/69962] ICE on missing parameter attribute, in gfc_set_constant_character_len
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 30 21:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69962
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Sep 30 21:02:56 2016
New Revision: 240679
URL: https://gcc.gnu.org/viewcvs?rev=240679&root=gcc&view=rev
Log:
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/69867
* decl.c (build_struct): Ensure that pointers point to something.
PR fortran/69962
* decl.c (gfc_set_constant_character_len): if expr is not
constant issue an error instead of an ICE.
PR fortran/69962
* gfortran.dg/pr69962.f90: New test.
PR fortran/69867
* gfortran.dg/pr69867.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr69867.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr69962.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list