[Bug sanitizer/80168] [5/6 Regression] ICE in make_decl_rtl, at varasm.c:1311 w/ VLA and -fsanitize=address
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 30 08:25:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80168
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:20:45 2017
New Revision: 248665
URL: https://gcc.gnu.org/viewcvs?rev=248665&root=gcc&view=rev
Log:
Backported from mainline
2017-03-27 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/80168
* asan.c (instrument_derefs): Copy over last operand from
original COMPONENT_REF to the new COMPONENT_REF with
DECL_BIT_FIELD_REPRESENTATIVE.
* ubsan.c (instrument_object_size): Likewise.
* gcc.dg/asan/pr80168.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/asan/pr80168.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/asan.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/ubsan.c
More information about the Gcc-bugs
mailing list