summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 19:27:30 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 19:27:30 +0000
commit299dd221df10425af8bdb382b49ce7ff00cfd0ea (patch)
treee666ec5c1dc1310d98180b310e555e54ef33a672 /gcc/opts.c
parent4b8ee8b9e290b76076cfbf63168c872433aae2b0 (diff)
downloadgcc-299dd221df10425af8bdb382b49ce7ff00cfd0ea.tar.gz
* opts.c (common_handle_option): Correct handling of the
-falign- switches that do and don't take an argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c20
1 files changed, 16 insertions, 4 deletions
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;