From: Jan Hubicka Date: Sun, 8 Dec 2019 13:50:32 +0000 (+0100) Subject: re PR tree-optimization/92860 (Global flags affected by -O settings are clobbered... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad74bc8ca4095e4bf58a4069105469e1c6a620f8;p=gcc.git re PR tree-optimization/92860 (Global flags affected by -O settings are clobbered by optimize attribute) PR tree-optimization/92860 * common.opt (fprofile-reorder-functions, ftoplevel-reorder): Add Optimization flag. From-SVN: r279089 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0994815f4a1..7b2ae564d47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-12-07 Jan Hubicka + + PR tree-optimization/92860 + * common.opt (fprofile-reorder-functions, ftoplevel-reorder): Add + Optimization flag. + 2019-12-07 Marek Polacek PR c++/91678 - wrong error with decltype and location wrapper. diff --git a/gcc/common.opt b/gcc/common.opt index d98cd16905b..b4dc31c7490 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2181,7 +2181,7 @@ Common Report Var(profile_report) Report on consistency of profile. fprofile-reorder-functions -Common Report Var(flag_profile_reorder_functions) +Common Report Var(flag_profile_reorder_functions) Optimization Enable function reordering that improves code placement. fpatchable-function-entry= @@ -2586,7 +2586,7 @@ EnumValue Enum(tls_model) String(local-exec) Value(TLS_MODEL_LOCAL_EXEC) ftoplevel-reorder -Common Report Var(flag_toplevel_reorder) Init(2) +Common Report Var(flag_toplevel_reorder) Init(2) Optimization Reorder top level functions, variables, and asms. ftracer