patch-gcc_config_sparc_sparc_c 604 B

1234567891011121314
  1. $OpenBSD: patch-gcc_config_sparc_sparc_c,v 1.2 2013/06/07 07:54:23 pascal Exp $
  2. --- gcc/config/sparc/sparc.c.orig Sun Sep 2 12:37:49 2012
  3. +++ gcc/config/sparc/sparc.c Sat Apr 13 16:20:32 2013
  4. @@ -4544,6 +4544,9 @@ sparc_expand_prologue (void)
  5. actual_fsize
  6. = sparc_compute_frame_size (get_frame_size(), sparc_leaf_function_p);
  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. /* Advertise that the data calculated just above are now valid. */
  11. sparc_prologue_data_valid_p = true;