"Rohit Arul Raj" <[EMAIL PROTECTED]> 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