https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88649
Bug ID: 88649 Summary: runtime error: load of value 137971008, which is not a valid value for type 'gfc_intrinsic_op' Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Blocks: 63426 Target Milestone: --- Using ubsan GCC compiler, one can see: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/dec_bitwise_ops_1.f90 -O0 -fdec ../../gcc/fortran/resolve.c:4150:23: runtime error: load of value 137971008, which is not a valid value for type 'gfc_intrinsic_op' #0 0xb1362e in resolve_operator ../../gcc/fortran/resolve.c:4150 #1 0xb2ffce in gfc_resolve_expr(gfc_expr*) ../../gcc/fortran/resolve.c:6825 #2 0xb61cfa in gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.c:11269 #3 0xb9cb84 in resolve_codes ../../gcc/fortran/resolve.c:16715 #4 0xb9cd8b in gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.c:16750 #5 0xad072e in resolve_all_program_units ../../gcc/fortran/parse.c:6067 #6 0xad1a20 in gfc_parse_file() ../../gcc/fortran/parse.c:6317 #7 0xc3694a in gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 #8 0x22fdf98 in compile_file ../../gcc/toplev.c:456 #9 0x2305493 in do_compile ../../gcc/toplev.c:2176 #10 0x2305ac1 in toplev::main(int, char**) ../../gcc/toplev.c:2311 #11 0x466210c in main ../../gcc/main.c:39 #12 0x7ffff608cfea in __libc_start_main ../csu/libc-start.c:308 #13 0x872bd9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/f951+0x872bd9) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 [Bug 63426] [meta-bug] Issues found with -fsanitize=undefined