aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorNeil Booth <neil@gcc.gnu.org>2003-06-21 15:59:31 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-21 15:59:31 +0000
commit058de654c50a7a0bcea4a6447d163b9d8d2d3cb0 (patch)
tree653ac33030daee31271ea46a6238a3dc13dd1fdc /gcc/f
parent6ecaa2701dce0c9dc132b190f79e4ab02f150577 (diff)
downloadgcc-058de654c50a7a0bcea4a6447d163b9d8d2d3cb0.zip
gcc-058de654c50a7a0bcea4a6447d163b9d8d2d3cb0.tar.gz
gcc-058de654c50a7a0bcea4a6447d163b9d8d2d3cb0.tar.bz2
Makefile.in: Update.
* Makefile.in: Update. * c-opts.c (c_common_handle_option): Don't return -1. * common.opt: New switches. * opts.c: Include rtl.h, ggc.h and output.h. (find_opt): Only stop searching when input switch compares less than the stored switch. Continue searching if greater. (handle_option): No need to handle negative return values. (common_handle_option): Handle new switches. (set_fast_math_flags, fast_math_flags_set_p): New. * toplev.c (set_fast_math_flags, fast_math_flags_set_p): Move to opts.c. (decode_f_option): Some switches moved to opts.c. (parse_options_and_default_flags): No need to cater for negative return values. f: * top.c (ffe_handle_option): No need to return -1 any more. From-SVN: r68307
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/top.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/gcc/f/top.c b/gcc/f/top.c
index 7ca2db9..89d3e96 100644
--- a/gcc/f/top.c
+++ b/gcc/f/top.c
@@ -239,8 +239,6 @@ ffe_handle_option (size_t scode, const char *arg, int value)
case OPT_ffixed_form:
ffe_set_is_free_form (!value);
- if (value)
- return -1;
break;
case OPT_fpedantic:
@@ -564,16 +562,12 @@ ffe_handle_option (size_t scode, const char *arg, int value)
case OPT_ffixed_line_length_:
if (strcmp (arg, "none") == 0)
- {
- ffe_set_fixed_line_length (0);
- return -1;
- }
+ ffe_set_fixed_line_length (0);
else if (ffe_is_digit_string_ (arg))
- {
- ffe_set_fixed_line_length (atol (arg));
- return -1;
- }
- return 0;
+ ffe_set_fixed_line_length (atol (arg));
+ else
+ return 0;
+ break;
case OPT_Wcomment:
case OPT_Wcomments: