re PR ipa/66223 (Diagnostic of pure virtual function call broken, including __cxa_pur...
authorJan Hubicka <hubicka@ucw.cz>
Tue, 5 Apr 2016 20:58:56 +0000 (22:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 5 Apr 2016 20:58:56 +0000 (20:58 +0000)
commit84278ed9e8f6ebef5f72f933171779041b1564b3
treeba85ba4e92c048f58a824467116dcdb53acf7068
parentd2aee115cc30f7ef14866ab9dd48c705a61c3f64
re PR ipa/66223 (Diagnostic of pure virtual function call broken, including __cxa_pure_virtual)

PR ipa/66223
* ipa-devirt.c (maybe_record_node): Fix comment; use
SANITIZE_UNREACHABLE instead of SANITIZE_UNDEFINED.

* g++.dg/ipa/devirt-51.C: Use -fsanitize=unreachable.

From-SVN: r234762
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-51.C