Update comment in opts.c.
authorMartin Liska <mliska@suse.cz>
Wed, 13 Nov 2019 08:40:46 +0000 (09:40 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Nov 2019 08:40:46 +0000 (08:40 +0000)
2019-11-13  Martin Liska  <mliska@suse.cz>

* opts.c: Update comment about OPT_LEVELS_2_PLUS_SPEED_ONLY.

From-SVN: r278118

gcc/ChangeLog
gcc/opts.c

index a6b039677a478d7071fdee1673e0ac3081102b92..fd3e7a0f2f663531efe2d50c241cc0ccc27cfe00 100644 (file)
@@ -1,3 +1,7 @@
+2019-11-13  Martin Liska  <mliska@suse.cz>
+
+       * opts.c: Update comment about OPT_LEVELS_2_PLUS_SPEED_ONLY.
+
 2019-11-13  Martin Liska  <mliska@suse.cz>
 
        * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
index faf2eef082e9709cb23cf042318c7cc594dbcc9c..74f05f1b58d5bb67e2d9e2e60d91b3b24719d932 100644 (file)
@@ -508,7 +508,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_CHEAP },
     { OPT_LEVELS_2_PLUS, OPT_finline_functions, NULL, 1 },
 
-    /* -O2 and -Os optimizations.  */
+    /* -O2 and above optimizations, but not -Os or -Og.  */
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_functions, NULL, 1 },
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_jumps, NULL, 1 },
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_labels, NULL, 1 },