From: Martin Liska Date: Wed, 13 Nov 2019 08:40:46 +0000 (+0100) Subject: Update comment in opts.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b6e95d30e321c4d0e1355a3f20b88ef2ea29785;p=gcc.git Update comment in opts.c. 2019-11-13 Martin Liska * opts.c: Update comment about OPT_LEVELS_2_PLUS_SPEED_ONLY. From-SVN: r278118 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6b039677a4..fd3e7a0f2f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-11-13 Martin Liska + + * opts.c: Update comment about OPT_LEVELS_2_PLUS_SPEED_ONLY. + 2019-11-13 Martin Liska * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): diff --git a/gcc/opts.c b/gcc/opts.c index faf2eef082e..74f05f1b58d 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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 },