patch-gcc_config_pa_pa_c 555 B

1234567891011121314
  1. $OpenBSD: patch-gcc_config_pa_pa_c,v 1.2 2013/06/07 07:54:23 pascal Exp $
  2. --- gcc/config/pa/pa.c.orig Thu Dec 6 03:19:48 2012
  3. +++ gcc/config/pa/pa.c Sat Apr 13 16:20:31 2013
  4. @@ -3876,6 +3876,9 @@ hppa_expand_prologue (void)
  5. if (flag_stack_usage)
  6. current_function_static_stack_size = actual_fsize;
  7. + if (warn_stack_larger_than && actual_fsize > stack_larger_than_size)
  8. + warning (OPT_Wstack_larger_than_, "stack usage is %d bytes", actual_fsize);
  9. +
  10. /* Compute a few things we will use often. */
  11. tmpreg = gen_rtx_REG (word_mode, 1);