]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-devirt.c
re PR tree-optimization/59355 (ICE: SIGSEGV in hash_table::find_slot_with_hash()...
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Dec 2013 08:44:25 +0000 (09:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Dec 2013 08:44:25 +0000 (09:44 +0100)
commita88bf705531216cbdb8637836caf2b228d49d175
tree3810edd74153040150c808c597d180fa769450c3
parent96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe
re PR tree-optimization/59355 (ICE: SIGSEGV in hash_table::find_slot_with_hash() with -fno-devirtualize)

PR tree-optimization/59355
* ipa-devirt.c (gate_ipa_devirt): Return false if
!flag_devirtualize.
* opts.c (common_handle_option): Fix comment spelling.

* g++.dg/ipa/pr59355.C: New test.

From-SVN: r205656
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr59355.C [new file with mode: 0644]