aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
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/c-opts.c
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/c-opts.c')
-rw-r--r--gcc/c-opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 4d6ccd2..6e8cf6e 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -820,8 +820,8 @@ c_common_handle_option (size_t scode, const char *arg, int value)
case OPT_ffixed_form:
case OPT_ffixed_line_length_:
/* Fortran front end options ignored when preprocessing only. */
- if (flag_preprocess_only)
- result = -1;
+ if (!flag_preprocess_only)
+ result = 0;
break;
case OPT_ffor_scope: