[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Mar 20 19:56:00 GMT 2018


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

--- Comment #17 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Dominique, can you check whether it also fixes the other -fdefault-real-8 -m32
> issues caused by r256284?

Preliminary tests show that all the failures reported in comment 0 are fixed by
the patch except:

% gfc -m32 -fdefault-integer-8
/opt/gcc/p_work/gcc/testsuite/gfortran.dg/assumed_rank_1.f90
/opt/gcc/p_work/gcc/testsuite/gfortran.dg/assumed_rank_1_c.c
cc1: warning: command line option '-fdefault-integer-8' is valid for Fortran
but not for C
% ./a.out                                                                       
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Full test scheduled for tonight. Thanks for the patch.


More information about the Gcc-bugs mailing list