[Bug sanitizer/81224] ICE in -fsanitize=address w/ a register variable of a vector type

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 21:28:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81224

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Are you sure?
At least on gcc-6-branch I'm seeing:
spawn -ignore SIGHUP /usr/src/gcc-6/obj28/gcc/xgcc -B/usr/src/gcc-6/obj28/gcc/
/usr/src/gcc-6/gcc/testsuite/gcc.dg/asan/pr81224.c
-B/usr/src/gcc-6/obj28/x86_64-pc-linux-gnu/./libsanitizer/
-B/usr/src/gcc-6/obj28/x86_64-pc-linux-gnu/./libsanitizer/asan/
-L/usr/src/gcc-6/obj28/x86_64-pc-linux-gnu/./libsanitizer/asan/.libs
-fsanitize=address -g -I/usr/src/gcc-6/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -msse2 -S -o
pr81224.s
/usr/src/gcc-6/gcc/testsuite/gcc.dg/asan/pr81224.c: In function 'b':
/usr/src/gcc-6/gcc/testsuite/gcc.dg/asan/pr81224.c:10:11: internal compiler
error: in expand_expr_addr_expr_1, at expr.c:7672
0x868fe1 expand_expr_addr_expr_1
        ../../gcc/expr.c:7672
0x84ca06 expand_expr_addr_expr
        ../../gcc/expr.c:7785
0x84ca06 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:10869
0x85b820 expand_expr
        ../../gcc/expr.h:260
0x85b820 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        ../../gcc/expr.c:7554
0x863113 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/expr.c:8395
0x73251d expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3653
0x73251d expand_gimple_stmt
        ../../gcc/cfgexpand.c:3714
0x733f8e expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5720
0x739896 execute
        ../../gcc/cfgexpand.c:6335
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.
compiler exited with status 1
FAIL: gcc.dg/asan/pr81224.c   -O0  (internal compiler error)
FAIL: gcc.dg/asan/pr81224.c   -O0  (test for excess errors)
and similarly for other -O levels.


More information about the Gcc-bugs mailing list