re PR sanitizer/65583 ([UBSAN] ICE segfault in inline_edge_summary)
authorMarek Polacek <polacek@redhat.com>
Fri, 27 Mar 2015 09:33:20 +0000 (09:33 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 27 Mar 2015 09:33:20 +0000 (09:33 +0000)
commit27674ca63c662a635f3a645a28790bde40ed11ab
tree73030549c624ef54877b624aed93c087329d3ac9
parent50cfd44e5d1ed01d1c641da81ffe3974afa373f7
re PR sanitizer/65583 ([UBSAN] ICE segfault in inline_edge_summary)

PR sanitizer/65583
* ubsan.c (ubsan_create_edge): New function.
(instrument_bool_enum_load): Call it.
(instrument_nonnull_arg): Likewise.
(instrument_nonnull_return): Likewise.
(instrument_object_size): Likewise.

* g++.dg/ubsan/pr65583.C: New test.

From-SVN: r221723
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ubsan/pr65583.C [new file with mode: 0644]
gcc/ubsan.c