[Bug ipa/84641] New: gcc/ipa-pure-const.c:1951:22: runtime error: load of value 66, which is not a valid value for type 'bool'
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 1 08:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84641
Bug ID: 84641
Summary: gcc/ipa-pure-const.c:1951:22: runtime error: load of
value 66, which is not a valid value for type 'bool'
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jamborm at gcc dot gnu.org, kugan at gcc dot gnu.org,
marxin at gcc dot gnu.org
Target Milestone: ---
With UBSAN gcc compiler I see:
$ UBSAN_OPTIONS="print_stacktrace=1" ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/pr71633.C -c -O3 -mmpx -O2
-std=gnu++11 -fcheck-pointer-bounds
../../gcc/ipa-pure-const.c:1951:22: runtime error: load of value 118, which is
not a valid value for type 'bool'
#0 0x761403 in propagate_malloc ../../gcc/ipa-pure-const.c:1951
#1 0x761403 in execute ../../gcc/ipa-pure-const.c:2017
#2 0x20c2e9c in execute_one_pass(opt_pass*) ../../gcc/passes.c:2497
#3 0x20c9217 in execute_ipa_pass_list(opt_pass*) ../../gcc/passes.c:2932
#4 0x121c532 in ipa_passes ../../gcc/cgraphunit.c:2476
#5 0x121c532 in symbol_table::compile() ../../gcc/cgraphunit.c:2558
#6 0x1227bd6 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2717
#7 0x25a2ffc in compile_file ../../gcc/toplev.c:480
#8 0x77e2e9 in do_compile ../../gcc/toplev.c:2132
#9 0x77e2e9 in toplev::main(int, char**) ../../gcc/toplev.c:2267
#10 0x78117a in main ../../gcc/main.c:39
#11 0x7f766edbe6e4 in __libc_start_main (/lib64/libc.so.6+0x206e4)
#12 0x7812a8 in _start
(/home/marxin/Programming/gcc/objdir/gcc/cc1plus+0x7812a8)
More information about the Gcc-bugs
mailing list