re PR tree-optimization/64121 (ICE: SSA corruption with -O -fsanitize=undefined)
authorMarek Polacek <polacek@redhat.com>
Mon, 1 Dec 2014 15:37:55 +0000 (15:37 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 1 Dec 2014 15:37:55 +0000 (15:37 +0000)
commit7d1f4ae5f155c0656ef53d7692bb81b424c28220
treef5e772a5db0e1bb4fe04aba925539a5ef99d36fb
parent0b274c179f478df449d66bd0707cb9aa05dcafed
re PR tree-optimization/64121 (ICE: SSA corruption with -O -fsanitize=undefined)

PR sanitizer/64121
* ubsan.c (instrument_object_size): Stop searching if the base
occurs in abnormal phi.

* c-c++-common/ubsan/pr64121.c: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r218222
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/pr64121.c [new file with mode: 0644]
gcc/ubsan.c