Correct previous commit to the final version of patch.
From-SVN: r202146
This commit is contained in:
parent
bbc9396b62
commit
ca1eedf674
@ -1003,14 +1003,14 @@ fdelete-null-pointer-checks
|
||||
Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
|
||||
Delete useless null pointer checks
|
||||
|
||||
fdevirtualize
|
||||
Common Report Var(flag_devirtualize) Optimization
|
||||
Try to convert virtual calls to direct ones.
|
||||
|
||||
fdevirtualize-speculatively
|
||||
Common Report Var(flag_devirtualize_speculatively) Optimization
|
||||
Perform speculative devirtualization
|
||||
|
||||
fdevirtualize
|
||||
Common Report Var(flag_devirtualize) Optimization
|
||||
Try to convert virtual calls to direct ones.
|
||||
|
||||
fdiagnostics-show-location=
|
||||
Common Joined RejectNegative Enum(diagnostic_prefixing_rule)
|
||||
-fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics
|
||||
|
@ -944,7 +944,7 @@ gate_ipa_devirt (void)
|
||||
{
|
||||
/* FIXME: We should remove the optimize check after we ensure we never run
|
||||
IPA passes when not optimizing. */
|
||||
return (flag_devirtualize || flag_devirtualize_speculatively) && !in_lto_p;
|
||||
return flag_devirtualize && !in_lto_p;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-ipa-inline -fno-devirtualize-speuclatively" } */
|
||||
/* { dg-options "-O2 -fdump-ipa-inline -fno-devirtualize-speculatively" } */
|
||||
int baz ();
|
||||
struct A
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user