Re: [PING^3][RFC, PATCH][ASAN] Implement dynamic allocas/VLAs sanitization.​

Maxim Ostapenko m.ostapenko@samsung.com
Mon Jul 10 07:46:00 GMT 2017


Hi Andreas,

On 08/07/17 21:48, Andreas Schwab wrote:
> This breaks gcc.dg/asan/pr80168.c on aarch64 -mabi=ilp32:
>
> /opt/gcc/gcc-20170708/gcc/testsuite/gcc.dg/asan/pr80168.c:7:1: internal compiler error: in emit_library_call_value_1, at calls.c:4555
> 0x701577 emit_library_call_value_1
>          ../../gcc/calls.c:4554
> 0x7068d7 emit_library_call_value(rtx_def*, rtx_def*, libcall_type, machine_mode, int, ...)
>          ../../gcc/calls.c:5159
> 0xb751d7 asan_emit_allocas_unpoison(rtx_def*, rtx_def*, rtx_insn*)
>          ../../gcc/asan.c:1570
> 0x71cf1f expand_used_vars
>          ../../gcc/cfgexpand.c:2245
> 0x71da07 execute
>          ../../gcc/cfgexpand.c:6232

could you check whether attached patch fixes the issue?

-Maxim

>
> Andreas.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloca-aarch64-ilp32-1.diff
Type: text/x-diff
Size: 663 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170710/2448973f/attachment.bin>


More information about the Gcc-patches mailing list