public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ygribov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/62140] [GCC-4.10.0][ASAN] ICE: : in build2_stat, at tree.c:4265
Date: Mon, 01 Sep 2014 07:48:00 -0000	[thread overview]
Message-ID: <bug-62140-4-OsFFAVtSAP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-62140-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62140

--- Comment #4 from ygribov at gcc dot gnu.org ---
Author: ygribov
Date: Mon Sep  1 07:47:37 2014
New Revision: 214777

URL: https://gcc.gnu.org/viewcvs?rev=214777&root=gcc&view=rev
Log:
2014-09-01  Yury Gribov  <y.gribov@samsung.com>

    PR sanitizer/61897
    PR sanitizer/62140

gcc/
    * 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.

gcc/testsuite/
    * c-c++-common/asan/pr62140-1.c: New test.
    * c-c++-common/asan/pr62140-2.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/asan/pr62140-1.c
    trunk/gcc/testsuite/c-c++-common/asan/pr62140-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/asan.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2014-09-01  7:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14 16:34 [Bug c/62140] New: [GCC-4.10.0] " sabrinadfs at gmail dot com
2014-08-15 10:04 ` [Bug middle-end/62140] [GCC-4.10.0][ASAN] " rguenth at gcc dot gnu.org
2014-08-15 14:00 ` y.gribov at samsung dot com
2014-08-19 11:51 ` tetra2005 at gmail dot com
2014-09-01  7:48 ` ygribov at gcc dot gnu.org [this message]
2014-09-08  7:30 ` y.gribov at samsung dot com
2014-09-08 11:33 ` sabrinadfs at gmail dot com
2014-09-08 11:37 ` mpolacek at gcc dot gnu.org
2014-10-16 13:54 ` ygribov at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-62140-4-OsFFAVtSAP@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).