This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Using DECL_NO_LIMIT_STACK as a backend specific flag


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]