aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-12-04 09:44:25 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-12-04 09:44:25 +0100
commita88bf705531216cbdb8637836caf2b228d49d175 (patch)
tree3810edd74153040150c808c597d180fa769450c3 /gcc/opts.c
parent96d75a2c8c3548926dffddfb3b1ce9ce2d51dcfe (diff)
downloadgcc-a88bf705531216cbdb8637836caf2b228d49d175.zip
gcc-a88bf705531216cbdb8637836caf2b228d49d175.tar.gz
gcc-a88bf705531216cbdb8637836caf2b228d49d175.tar.bz2
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
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 0c1f57e..a0a6c53 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1709,7 +1709,7 @@ common_handle_option (struct gcc_options *opts,
if (!opts_set->x_flag_tree_loop_distribute_patterns)
opts->x_flag_tree_loop_distribute_patterns = value;
/* Indirect call profiling should do all useful transformations
- speculative devirutalization does. */
+ speculative devirtualization does. */
if (!opts_set->x_flag_devirtualize_speculatively
&& opts->x_flag_value_profile_transformations)
opts->x_flag_devirtualize_speculatively = false;