diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-20 22:37:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-01-20 22:37:26 +0000 |
commit | 573890e1b4ad7a80c4f9484950e05b1965bae216 (patch) | |
tree | c3c4610388efbbbd64d507cdb6fb1e37de7e37ae | |
parent | 19ae454459cc23e3ed40f12506ad079bd3f6870e (diff) |
-Wstack-larger-than support, copied from gcc2.
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/alpha/alpha.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/alpha.c b/gnu/usr.bin/gcc/gcc/config/alpha/alpha.c index b345b692765..2f60fadcb38 100644 --- a/gnu/usr.bin/gcc/gcc/config/alpha/alpha.c +++ b/gnu/usr.bin/gcc/gcc/config/alpha/alpha.c @@ -7069,6 +7069,9 @@ alpha_expand_prologue () + ALPHA_ROUND (frame_size + current_function_pretend_args_size)); + if (warn_stack_larger_than && frame_size > stack_larger_than_size) + warning ("stack usage is %d bytes", frame_size); + if (TARGET_ABI_OPEN_VMS) reg_offset = 8; else |