From: Martin Liska Date: Tue, 17 Jul 2018 09:22:14 +0000 (+0200) Subject: Do not enable OPT_falign_* for -Os. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=487982030e0a9ee7bcfb45f8ffa4231643789956;p=gcc.git Do not enable OPT_falign_* for -Os. 2018-07-17 Martin Liska * opts.c: Do not enable OPT_falign_* for -Os. From-SVN: r262807 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccc824cfbe7..1c52477d70d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-07-17 Martin Liska + + * opts.c: Do not enable OPT_falign_* for -Os. + 2018-07-17 Martin Liska * align.h (MAX_CODE_ALIGN): New. diff --git a/gcc/opts.c b/gcc/opts.c index 0625b15b27b..b8ae8756b4f 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -510,10 +510,10 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_2_PLUS, OPT_fdevirtualize, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fdevirtualize_speculatively, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fipa_sra, NULL, 1 }, - { OPT_LEVELS_2_PLUS, OPT_falign_loops, NULL, 1 }, - { OPT_LEVELS_2_PLUS, OPT_falign_jumps, NULL, 1 }, - { OPT_LEVELS_2_PLUS, OPT_falign_labels, NULL, 1 }, - { OPT_LEVELS_2_PLUS, OPT_falign_functions, NULL, 1 }, + { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_loops, NULL, 1 }, + { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_jumps, NULL, 1 }, + { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_labels, NULL, 1 }, + { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_falign_functions, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_ftree_tail_merge, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_CHEAP }, { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_foptimize_strlen, NULL, 1 },