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/85521] [8 Regression] ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2049


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=]

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