From 573890e1b4ad7a80c4f9484950e05b1965bae216 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 20 Jan 2007 22:37:26 +0000 Subject: -Wstack-larger-than support, copied from gcc2. --- gnu/usr.bin/gcc/gcc/config/alpha/alpha.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3