This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][MIPS] mwarn-framesize= option
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Maxim Kuvyrkov" <maxim at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "Richard Sandiford" <rsandifo at nildram dot co dot uk>
- Date: Tue, 3 Jun 2008 11:15:06 -0700
- Subject: Re: [PATCH][MIPS] mwarn-framesize= option
- References: <48458950.5090404@codesourcery.com>
On Tue, Jun 3, 2008 at 11:11 AM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
> Hello,
>
> Here is patch to add -mwarn-framesize=<size> option to MIPS. This option is
> useful when developing code for environments with limited or no stack, e.g.,
> BIOS. One can use this option to diagnose any C constructs that use stack
> memory and fix them to use only registers.
There is a generic implementation of this already on the trunk as
-Wframe-larger-than=N. I don't think you need another option to do
the same thing.
Thanks,
Andrew Pinski