diff options
author | 2010-05-09 17:59:59 +0000 | |
---|---|---|
committer | 2010-05-09 17:59:59 +0000 | |
commit | ee76c7cda092e5d4730025132d61df935e82cee3 (patch) | |
tree | 35b7b28b85e25e703cf13df24b2d99376a487f66 | |
parent | Prevent "taken branch" exceptions from kernel space by clearing the PSL_T (diff) | |
download | wireguard-openbsd-ee76c7cda092e5d4730025132d61df935e82cee3.tar.xz wireguard-openbsd-ee76c7cda092e5d4730025132d61df935e82cee3.zip |
-Wstack-larger-than-N for hppa/hppa64.
-rw-r--r-- | gnu/gcc/gcc/config/pa/pa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/config/pa/pa.c b/gnu/gcc/gcc/config/pa/pa.c index c5ec42a17a6..6396e4bafef 100644 --- a/gnu/gcc/gcc/config/pa/pa.c +++ b/gnu/gcc/gcc/config/pa/pa.c @@ -3584,6 +3584,9 @@ hppa_expand_prologue (void) actual_fsize = compute_frame_size (size, &save_fregs); + if (warn_stack_larger_than && actual_fsize > stack_larger_than_size) + warning (0, "stack usage is %d bytes", actual_fsize); + /* Compute a few things we will use often. */ tmpreg = gen_rtx_REG (word_mode, 1); |