This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target Hook not getting recognized - GCC 4.1.1
- From: Ian Lance Taylor <iant at google dot com>
- To: "Rohit Arul Raj" <rohitarulraj at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: 29 May 2007 07:58:33 -0700
- Subject: Re: Target Hook not getting recognized - GCC 4.1.1
- References: <c356fd4e0705280643o42ea7188j67b5480de7ffdf3@mail.gmail.com>
"Rohit Arul Raj" <rohitarulraj@gmail.com> writes:
> I have defined a target hook TARGET_EXPAND_BUILTIN_SAVEREGS (GCC
> 4.1.1) as an alternative to TARGET_SETUP_INCOMING_VARARGS so as to
> code ___builtin_saveregs as per my target. But this target hook is not
> getting recognized.
>
> Is there anything else this target hook depends on?
What do you mean by "is not getting recognized?"
That target hook should always be used for code which calls
__builtin_saveregs. It's not clear to me that there is any normal
case in which that function will be called.
Ian