https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77320
Bug ID: 77320 Summary: ICE: get_ubsan_type_info_for_type, at ubsan.c:305 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: sabrinadfs at gmail dot com Target Milestone: --- GCC-6.1.0 x86_64-pc-linux-gnu and x86_64-apple-darwin15.4.0 Running the following test: make -s -C gcc check-gcc RUNTESTFLAGS="dg-torture.exp=pr48953.c --target_board=unix/-fsanitize=undefined/" GCC throw an ICE: ------------------------------------------------------------------------ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'foo': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:5:19: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'foo': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:5:19: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.dg/torture/pr48953.c -O0 (internal compiler error) FAIL: gcc.dg/torture/pr48953.c -O0 (test for excess errors) Excess errors: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:5:19: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open UNRESOLVED: gcc.dg/torture/pr48953.c -O0 compilation failed to produce executable Executing on host: /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O1 -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe (timeout = 300) spawn /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O1 -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.dg/torture/pr48953.c -O1 (internal compiler error) FAIL: gcc.dg/torture/pr48953.c -O1 (test for excess errors) Excess errors: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open UNRESOLVED: gcc.dg/torture/pr48953.c -O1 compilation failed to produce executable Executing on host: /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe (timeout = 300) spawn /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.dg/torture/pr48953.c -O2 (internal compiler error) FAIL: gcc.dg/torture/pr48953.c -O2 (test for excess errors) Excess errors: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open UNRESOLVED: gcc.dg/torture/pr48953.c -O2 compilation failed to produce executable Executing on host: /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O3 -g -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe (timeout = 300) spawn /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O3 -g -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.dg/torture/pr48953.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/pr48953.c -O3 -g (test for excess errors) Excess errors: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open UNRESOLVED: gcc.dg/torture/pr48953.c -O3 -g compilation failed to produce executable Executing on host: /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -Os -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe (timeout = 300) spawn /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -B/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/ /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c -fno-diagnostics-show-caret -fdiagnostics-color=never -Os -fno-tree-dce -lm -fsanitize=undefined -o ./pr48953.exe /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c: In function 'main': /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.dg/torture/pr48953.c -Os (internal compiler error) FAIL: gcc.dg/torture/pr48953.c -Os (test for excess errors) Excess errors: /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/pr48953.c:15:5: internal compiler error: in get_ubsan_type_info_for_type, at ubsan.c:305 libbacktrace could not find executable to open UNRESOLVED: gcc.dg/torture/pr48953.c -Os compilation failed to produce executable testcase /Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0/gcc/testsuite/gcc.dg/torture/dg-torture.exp completed in 2 seconds === gcc Summary === # of unexpected failures 10 # of unresolved testcases 5 Executing on host: /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -v (timeout = 300) spawn /Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc -v Using built-in specs. COLLECT_GCC=/Users/sabrinasouto/workspace/gcc-6.x/objdir/gcc/xgcc Target: x86_64-apple-darwin15.4.0 Configured with: ./../gcc-6.1.0/configure --prefix=/Users/sabrinasouto/workspace/gcc-6.x/gcc-6.1.0 --enable-languages=c,c++ Thread model: posix gcc version 6.1.0 (GCC) ------------------------------------------------------------------------ Can anyone confirm this bug?