This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85521] [8 Regression] ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2049
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Apr 2018 21:41:35 +0000
- Subject: [Bug fortran/85521] [8 Regression] ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2049
- Auto-submitted: auto-generated
- References: <bug-85521-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85521
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Likely r256944.
This is for the test in comment 0. For the test in comment 1, I get the
following change between r257064 and r257065
% /opt/gcc/gcc8p-257064p2/bin/gfortran pr85521_1.f90
pr85521_1.f90:4:17:
z = [ c(:-2) ]
1
Fatal Error: Array element size too big at (1)
compilation terminated.
% /opt/gcc/gcc8p-257065p2/bin/gfortran pr85521_1.f90
pr85521_1.f90:4:0:
z = [ c(:-2) ]
Warning: '__builtin_memmove' specified size 18446744073709551614 exceeds
maximum object size 9223372036854775807 [-Wstringop-overflow=]