[Bug fortran/84615] New: [8 Regression] Executable Segfault for tests compiled with -fdefault-integer-8 and -m32
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 14:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615
Bug ID: 84615
Summary: [8 Regression] Executable Segfault for tests compiled
with -fdefault-integer-8 and -m32
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
Target Milestone: ---
The results posted in pr32770 comment 36 show over 400 more failures with -m32
than with -m64 while they are roughly the same in pr32770 comment 35.
This appears to be a change that occurred between revisions r256222
(2018-01-04, OK) and r256323 (2018-01-07, wrong code). r256265 (pr45689,
pr83683), r256310 (pr50892), and r256322 (pr66310, pr78534) not fixed by
subsequent 256337, 256944, 257233, 257903
gfortran.dg/achar_4.f90
gfortran.dg/allocatable_scalar_13.f90
gfortran.dg/argument_checking_8.f90
gfortran.dg/array_constructor_17.f90
gfortran.dg/array_temporaries_3.f90
gfortran.dg/assumed_rank_1.f90
gfortran.dg/auto_char_len_3.f90
gfortran.dg/auto_char_pointer_array_result_1.f90
gfortran.dg/auto_pointer_array_result_1.f90
gfortran.dg/char_cshift_1.f90
gfortran.dg/char_cshift_3.f90
gfortran.dg/char_eoshift_1.f90
gfortran.dg/char_eoshift_2.f90
gfortran.dg/char_eoshift_3.f90
gfortran.dg/char_eoshift_4.f90
gfortran.dg/char_length_5.f90
gfortran.dg/char_length_7.f90
gfortran.dg/char_pack_1.f90
gfortran.dg/char_pack_2.f90
gfortran.dg/char_result_3.f90
gfortran.dg/char_result_4.f90
gfortran.dg/char_result_5.f90
gfortran.dg/char_result_6.f90
gfortran.dg/char_result_7.f90
gfortran.dg/char_result_8.f90
gfortran.dg/char_length_12.f90
gfortran.dg/char_length_14.f90
gfortran.dg/char_result_12.f90
gfortran.dg/char_result_13.f90
gfortran.dg/char_result_14.f90
gfortran.dg/char_result_15.f90
gfortran.dg/char_spread_1.f90
gfortran.dg/class_array_7.f03
gfortran.dg/cshift_bounds_1.f90
gfortran.dg/dummy_procedure_3.f90
gfortran.dg/entry_6.f90
gfortran.dg/interface_12.f90
gfortran.dg/intrinsic_pack_4.f90
gfortran.dg/mapping_1.f90
gfortran.dg/mapping_2.f90
gfortran.dg/mapping_3.f90
gfortran.dg/maxval_char_1.f90
gfortran.dg/maxval_char_2.f90
gfortran.dg/minval_char_1.f90
gfortran.dg/minval_char_2.f90
gfortran.dg/module_read_2.f90
gfortran.dg/parens_5.f90
gfortran.dg/pr46588.f90
gfortran.dg/proc_decl_17.f90
gfortran.dg/proc_ptr_comp_16.f90
gfortran.dg/proc_ptr_comp_17.f90
gfortran.dg/result_in_spec_1.f90
gfortran.dg/result_in_spec_2.f90
gfortran.dg/simplify_eoshift_1.f90
gfortran.dg/spec_expr_7.f90
gfortran.dg/string_array_constructor_2.f90
gfortran.dg/string_length_1.f90
gfortran.dg/submodule_2.f08
gfortran.dg/submodule_31.f08
gfortran.dg/transfer_intrinsic_2.f90
gfortran.dg/transfer_intrinsic_3.f90
gfortran.dg/widechar_6.f90
gfortran.dg/write_recursive.f90
gfortran.fortran-torture/execute/intrinsic_len.f90
gfortran.fortran-torture/execute/intrinsic_trim.f90
gfortran.fortran-torture/execute/pr32140.f90
gfortran.fortran-torture/execute/strret.f90
the failures are
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
For the tests
gfortran.dg/char_result_1.f90
gfortran.dg/char_result_2.f90
The failures are of the kind
char_result_1.exe(63242,0xa9b3c1c0) malloc: *** mach_vm_map(size=2147160064)
failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
For the tests
gfortran.dg/char_reshape_1.f90
gfortran.dg/maxloc_string_1.f90
gfortran.dg/minloc_string_1.f90
gfortran.dg/widechar_intrinsics_5.f90
gfortran.dg/zero_sized_1.f90
the failures are
Fortran runtime error: rank of return array incorrect in RESHAPE intrinsic
For the tests
gfortran.dg/maxval_char_3.f90
gfortran.dg/maxval_char_4.f90
gfortran.dg/minval_char_3.f90
gfortran.dg/minval_char_4.f90
the failures are
Assertion failed: (xlen == string_len), function maxval1_s4, file
../../../../p_work/libgfortran/generated/maxval1_s4.c, line 66.
or
Assertion failed: (xlen == string_len), function minval1_s4, file
../../../../p_work/libgfortran/generated/minval1_s4.c, line 66.
More information about the Gcc-bugs
mailing list