diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 7064c7e2876..e189914ce41 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2029,6 +2029,10 @@ process_options (void) if (flag_cx_limited_range) flag_complex_method = 0; + /* With -fcx-fortran-rules, we do something in-between cheap and C99. */ + if (flag_cx_fortran_rules) + flag_complex_method = 1; + /* Targets must be able to place spill slots at lower addresses. If the target already uses a soft frame pointer, the transition is trivial. */ if (!FRAME_GROWS_DOWNWARD && flag_stack_protect) @@ -2329,6 +2333,9 @@ toplev_main (unsigned int argc, const char **argv) comprobe_finish(); #endif + if (warningcount || errorcount) + print_ignored_options (); + if (errorcount || sorrycount) return (FATAL_EXIT_CODE); |