This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Using DECL_NO_LIMIT_STACK as a backend specific flag
- From: Ian Lance Taylor <iant at google dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Oct 2012 07:02:36 -0700
- Subject: Re: RFC: Using DECL_NO_LIMIT_STACK as a backend specific flag
- References: <871uhfsmw2.fsf@redhat.com>
On Wed, Oct 3, 2012 at 6:31 AM, Nick Clifton <nickc@redhat.com> wrote:
>
> Is there a target specific way to add a flag bit to a function decl ?
>
> For the RX port I want to be able to mark a function decl for which I
> have issued a warning message. Unfortunately I could find no easy way
> to do this other than stealing one of the generic bits (no_limit_stack
> in this case). Is there a proper way to do this ?
Can't you just keep a list of the decls for which you have issued the
warning? How many decls do you expect to be on that list?
Ian