[Bug rtl-optimization/82488] UBSAN in gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int'
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Oct 26 11:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82488
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-10-26
Version|unknown |8.0
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on several gfortran test with an instrumented compiler:
gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 -
-9223372036854775808 cannot be represented in type 'long long int'
for
gfortran.dg/actual_array_constructor_1.f90
gfortran.dg/associate_1.f03
gfortran.dg/auto_char_dummy_array_1.f90
gfortran.dg/auto_char_dummy_array_3.f90
gfortran.dg/auto_save_1.f90
gfortran.dg/block_2.f08
gfortran.dg/bounds_check_strlen_5.f90
gfortran.dg/dependent_decls_1.f90
gfortran.dg/elemental_subroutine_9.f90
gfortran.dg/init_flag_9.f90
gfortran.dg/large_integer_kind_1.f90
gfortran.dg/large_real_kind_1.f90
gfortran.dg/pr46588.f90
gfortran.dg/pr55330.f90
gfortran.dg/string_ctor_1.f90
gfortran.dg/string_length_1.f90
gfortran.dg/transfer_intrinsic_5.f90
gfortran.dg/trim_1.f90
gfortran.dg/widechar_2.f90
gfortran.dg/widechar_intrinsics_4.f90
gfortran.dg/widechar_intrinsics_6.f90 -fbackslash
gfortran.dg/widechar_intrinsics_9.f90
gfortran.dg/gomp/pr69281.f90 -fopenmp -fstack-arrays
gfortran.dg/ieee/ieee_8.f90
gfortran.fortran-torture/compile/implicit_1.f90
More information about the Gcc-bugs
mailing list