This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/61897] sanitizer internal compiler error: in build2_stat, at tree.c:4160
- From: "ygribov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Oct 2014 13:54:04 +0000
- Subject: [Bug sanitizer/61897] sanitizer internal compiler error: in build2_stat, at tree.c:4160
- Auto-submitted: auto-generated
- References: <bug-61897-4 at http dot gcc dot gnu dot org/bugzilla/>
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