OSDN Git Service

* opts.c (common_handle_option): Correct handling of the
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jul 2003 19:27:30 +0000 (19:27 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jul 2003 19:27:30 +0000 (19:27 +0000)
-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

gcc/ChangeLog
gcc/opts.c

index dbe3c5b..c874fd6 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-07  Neil Booth  <neil@daikokuya.co.uk>
+
+       * opts.c (common_handle_option): Correct handling of the
+       -falign- switches that do and don't take an argument.
+
 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
index f3889c7..85c759d 100644 (file)
@@ -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;