From 0fcd5ddaa80596940cb2accd8a74f4ceae75fea5 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 7 Jul 2003 19:27:30 +0000 Subject: [PATCH] opts.c (common_handle_option): Correct handling of the -falign- switches that do and don't take an argument. * opts.c (common_handle_option): Correct handling of the -falign- switches that do and don't take an argument. From-SVN: r69053 --- gcc/ChangeLog | 5 +++++ gcc/opts.c | 20 ++++++++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dbe3c5b8d46..c874fd6da30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-07 Neil Booth + + * opts.c (common_handle_option): Correct handling of the + -falign- switches that do and don't take an argument. + 2003-07-07 Kazu Hirata * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch diff --git a/gcc/opts.c b/gcc/opts.c index f3889c77a1a..85c759dbdab 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -782,25 +782,37 @@ common_handle_option (size_t scode, const char *arg, break; case OPT_falign_functions: - case OPT_falign_functions_: align_functions = !value; break; + case OPT_falign_functions_: + align_functions = value; + break; + case OPT_falign_jumps: - case OPT_falign_jumps_: align_jumps = !value; break; + case OPT_falign_jumps_: + align_jumps = value; + break; + case OPT_falign_labels: - case OPT_falign_labels_: align_labels = !value; break; + case OPT_falign_labels_: + align_labels = value; + break; + case OPT_falign_loops: - case OPT_falign_loops_: align_loops = !value; break; + case OPT_falign_loops_: + align_loops = value; + break; + case OPT_fargument_alias: flag_argument_noalias = !value; break; -- 2.30.2