re PR tree-optimization/65709 (Bad code for LZ4 decompression with -O3 on x86_64)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Apr 2015 19:51:08 +0000 (21:51 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Apr 2015 19:51:08 +0000 (21:51 +0200)
commitf66d8ec8cad7d28d81b3ce55af92fb0169f8edeb
tree56c73dc57db10b175afc7f8555c35f76881ce281
parent8fd827b8e58b04cdefeb3d5c4de4d53566fdc3ff
re PR tree-optimization/65709 (Bad code for LZ4 decompression with -O3 on x86_64)

PR tree-optimization/65709
* ubsan.c (instrument_mem_ref): Use TREE_TYPE (base) instead of
TREE_TYPE (TREE_TYPE (t)).

* c-c++-common/ubsan/align-9.c: New test.

From-SVN: r221958
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/align-9.c [new file with mode: 0644]
gcc/ubsan.c