https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456
Bug ID: 103456 Summary: [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594cff78fba6a29a0ec07fad31a7af19ff Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: siddhesh at redhat dot com Target Milestone: --- GCC UBSAN bootstrap is broken since the revision: ../configure --with-build-config=bootstrap-ubsan --enable-languages=c,c++ --disable-multilib --enable-shared /home/marxin/Programming/gcc/objdir/./gcc/xgcc -B/home/marxin/Programming/gcc/objdir/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wstrict-prototypes -Wmissing-prototypes -Wno-error=format-diag -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -fcf-protection -mshstk -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -I../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _divdc3.o -MT _divdc3.o -MD -MP -MF _divdc3.dep -DL_divdc3 -c ../../../libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS ../../gcc/gcc.c:9494:11: runtime error: load of address 0x0000009f5034 with insufficient space for an object of type 'const char' 0x0000009f5034: note: pointer points here 6d 36 34 20 6d 36 34 3b 6d 33 32 20 6d 33 32 3b 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 ^ #0 0x43f0ee in used_arg_t::operator()(char const*, int) ../../gcc/gcc.c:9494 #1 0x441ba9 in set_multilib_dir ../../gcc/gcc.c:9797 #2 0x441ba9 in driver::set_up_specs() const ../../gcc/gcc.c:8544 #3 0x412dc6 in driver::main(int, char**) ../../gcc/gcc.c:8126 #4 0x413987 in main ../../gcc/gcc-main.c:47 #5 0x7ffff7ce05bf in __libc_start_call_main (/lib64/libc.so.6+0x405bf) #6 0x7ffff7ce067b in __libc_start_main_alias_2 (/lib64/libc.so.6+0x4067b) #7 0x413b04 in _start (/home/marxin/Programming/gcc/objdir/gcc/xgcc+0x413b04) ../../gcc/gcc.c:9494:11: runtime error: load of address 0x0000009f5034 with insufficient space for an object of type 'const char' 0x0000009f5034: note: pointer points here 6d 36 34 20 6d 36 34 3b 6d 33 32 20 6d 33 32 3b 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 ^ #0 0x43f101 in used_arg_t::operator()(char const*, int) ../../gcc/gcc.c:9494 #1 0x441ba9 in set_multilib_dir ../../gcc/gcc.c:9797 #2 0x441ba9 in driver::set_up_specs() const ../../gcc/gcc.c:8544 #3 0x412dc6 in driver::main(int, char**) ../../gcc/gcc.c:8126 #4 0x413987 in main ../../gcc/gcc-main.c:47 #5 0x7ffff7ce05bf in __libc_start_call_main (/lib64/libc.so.6+0x405bf) #6 0x7ffff7ce067b in __libc_start_main_alias_2 (/lib64/libc.so.6+0x4067b) #7 0x413b04 in _start (/home/marxin/Programming/gcc/objdir/gcc/xgcc+0x413b04)