http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60667
Andrew Haley <aph at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aph at redhat dot com --- Comment #2 from Andrew Haley <aph at redhat dot com> --- I can't investigate this with today's trunk, because it does not build with ubsan: i386 /scratch/gcc/configure --with-build-config=bootstrap-ubsan --enable-languages=java /scratch/gcc/obj-i686-pc-linux-gnu/./prev-gcc/xg++ -B/scratch/gcc/obj-i686-pc-linux-gnu/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -nostdinc++ -B/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/include -I/scratch/gcc/libstdc++-v3/libsupc++ -L/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/scratch/gcc/obj-i686-pc-linux-gnu/prev-i686-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c -g -O2 -fsanitize=undefined -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/scratch/gcc/gcc -I/scratch/gcc/gcc/build -I/scratch/gcc/gcc/../include -I/scratch/gcc/gcc/../libcpp/include \ -o build/read-rtl.o /scratch/gcc/gcc/read-rtl.c /scratch/gcc/gcc/read-rtl.c: In function 'bool read_rtx(const char*, rtx_def**)': /scratch/gcc/gcc/read-rtl.c:1031:1: internal compiler error: Segmentation fault read_rtx (const char *rtx_name, rtx *x) ^ 0xda18f2 crash_signal /scratch/gcc/gcc/toplev.c:337 0x5ea774 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) /scratch/gcc/gcc/tree.h:2826 0xd9282f place_field(record_layout_info_s*, tree_node*) /scratch/gcc/gcc/stor-layout.c:1076 0xd98085 layout_type(tree_node*) /scratch/gcc/gcc/stor-layout.c:2292 0xdc4480 ubsan_create_data(char const*, unsigned int, ubsan_mismatch_data const*, ...) /scratch/gcc/gcc/ubsan.c:465 0xdc4829 ubsan_instrument_unreachable(unsigned int) /scratch/gcc/gcc/ubsan.c:517 0x92d8cb fold_builtin_0 /scratch/gcc/gcc/builtins.c:10306 0x93022c fold_builtin_n /scratch/gcc/gcc/builtins.c:11111 0x93a145 fold_call_stmt(gimple_statement_base*, bool) /scratch/gcc/gcc/builtins.c:14251 0xb2690b gimple_fold_builtin(gimple_statement_base*) /scratch/gcc/gcc/gimple-fold.c:888 0xb27967 gimple_fold_call /scratch/gcc/gcc/gimple-fold.c:1179 0xb27d6d fold_stmt_1 /scratch/gcc/gcc/gimple-fold.c:1258 0xb282fb fold_stmt(gimple_stmt_iterator*) /scratch/gcc/gcc/gimple-fold.c:1366 0xe2140c fold_marked_statements /scratch/gcc/gcc/tree-inline.c:4497 0xe2188e optimize_inline_calls(tree_node*) /scratch/gcc/gcc/tree-inline.c:4622 0x1492868 inline_transform(cgraph_node*) /scratch/gcc/gcc/ipa-inline-transform.c:453 0xcb73f0 execute_one_ipa_transform_pass /scratch/gcc/gcc/passes.c:2066 0xcb7557 execute_all_ipa_transforms() /scratch/gcc/gcc/passes.c:2107 0x9951c4 expand_function /scratch/gcc/gcc/cgraphunit.c:1767 0x9957e1 expand_all_functions /scratch/gcc/gcc/cgraphunit.c:1908 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [build/read-rtl.o] Error 1 make[3]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/scratch/gcc/obj-i686-pc-linux-gnu' make: *** [all] Error 2