[Bug sanitizer/61897] sanitizer internal compiler error: in build2_stat, at tree.c:4160
ygribov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 16 13:54:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61897
--- Comment #5 from ygribov at gcc dot gnu.org ---
Author: ygribov
Date: Thu Oct 16 13:53:33 2014
New Revision: 216332
URL: https://gcc.gnu.org/viewcvs?rev=216332&root=gcc&view=rev
Log:
2014-10-16 Yury Gribov <y.gribov@samsung.com>
Backport from mainline
2014-09-01 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/61897
PR sanitizer/62140
* asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
(build_check_stmt): Likewise.
(instrument_strlen_call): Likewise.
(asan_expand_check_ifn): Likewise and fix types.
(maybe_cast_to_ptrmode): New function.
* c-c++-common/asan/pr62140-1.c: New test.
* c-c++-common/asan/pr62140-2.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/pr62140-1.c
branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/pr62140-2.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/asan.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list