aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2019-12-08 14:50:32 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2019-12-08 13:50:32 +0000
commitad74bc8ca4095e4bf58a4069105469e1c6a620f8 (patch)
treec4d50c6d2ef5d69b581e73f030a8ae8fb1453c3b
parentc212316b4a774f8283f097d46e56fb8256502304 (diff)
downloadgcc-ad74bc8ca4095e4bf58a4069105469e1c6a620f8.zip
gcc-ad74bc8ca4095e4bf58a4069105469e1c6a620f8.tar.gz
gcc-ad74bc8ca4095e4bf58a4069105469e1c6a620f8.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/common.opt4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0994815..7b2ae56 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-07 Jan Hubicka <hubicka@ucw.cz>
+
+ PR tree-optimization/92860
+ * common.opt (fprofile-reorder-functions, ftoplevel-reorder): Add
+ Optimization flag.
+
2019-12-07 Marek Polacek <polacek@redhat.com>
PR c++/91678 - wrong error with decltype and location wrapper.
diff --git a/gcc/common.opt b/gcc/common.opt
index d98cd16..b4dc31c 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