https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78708
Bug ID: 78708
Summary: [ASAN][LTO] ICE in expand_ASAN_MARK, at
internal-fn.c:380 - when compiling but not linking
with ASAN
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target Milestone: ---
Accidentally, I just compiled some files with "-c -flto -fsanitize=address" but
forgot to add the "-fsanitize=address" when linking.
Result:
internal compiler error: in expand_ASAN_MARK, at internal-fn.c:380
0x8a3207 expand_ASAN_MARK
../../gcc/internal-fn.c:380
0x68af77 expand_call_stmt
../../gcc/cfgexpand.c:2569
0x68af77 expand_gimple_stmt_1
../../gcc/cfgexpand.c:3571
0x68af77 expand_gimple_stmt
../../gcc/cfgexpand.c:3737
0x68cbbf expand_gimple_basic_block
../../gcc/cfgexpand.c:5744
0x6926d6 execute
../../gcc/cfgexpand.c:6358