| Submitter | Andreas Schwab |
|---|---|
| Date | May 2, 2011, 4:58 p.m. |
| Message ID | <m2hb9ddooi.fsf@igel.home> |
| Download | mbox | patch |
| Permalink | /patch/93686/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc/config/m68k/m68k.c =================================================================== --- gcc/config/m68k/m68k.c (revision 173259) +++ gcc/config/m68k/m68k.c (working copy) @@ -981,6 +981,10 @@ m68k_expand_prologue (void) m68k_compute_frame_layout (); + if (flag_stack_usage) + current_function_static_stack_size + = current_frame.size + current_frame.offset; + /* If the stack limit is a symbol, we can check it here, before actually allocating the space. */ if (crtl->limit_stack