[Bug fortran/88227] ICE in gfc_convert_boz, at fortran/target-memory.c:788

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Jul 20 09:59:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88227

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE is caused by a bad conversion of REAL(16) BOZ using an integer KIND
that does not exist with -m32 (see comment 2). The ICE is gone with
-fdefault-double-8, but is also present with -freal-8-real-16 -m32:

% gfc pr88227.f90 -fdefault-real-8 -m32 -fdefault-double-8
% ./a.out 
   2.6941399667723174E-320
% gfc pr88227.f90 -freal-8-real-16 -m32
f951: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.


More information about the Gcc-bugs mailing list