diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 495e104..6107c04 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1748,15 +1748,13 @@ process_options (void) if (flag_cx_limited_range) flag_complex_method = 0; -#ifndef FRAME_GROWS_DOWNWARD /* 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 (flag_stack_protect) + if (!FRAME_GROWS_DOWNWARD && flag_stack_protect) { warning (0, "-fstack-protector not supported for this target"); flag_stack_protect = 0; } -#endif if (!flag_stack_protect) warn_stack_protect = 0; } |