sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.

2002-04-25  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
	for DECL being NULL.

From-SVN: r52775
This commit is contained in:
David S. Miller 2002-04-25 19:04:04 -07:00 committed by David S. Miller
parent 81f8fa35df
commit 5f76609a8b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-25 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
for DECL being NULL.
2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
* c-decl.c (grokdeclarator): Remove outdated ??? note

View File

@ -1930,7 +1930,9 @@ do { \
void) and then nothing else happens. Such a sibling call would look
valid without the added check here. */
#define FUNCTION_OK_FOR_SIBCALL(DECL) \
(! TARGET_FLAT && (TARGET_ARCH64 || ! current_function_returns_struct))
(DECL \
&& ! TARGET_FLAT \
&& (TARGET_ARCH64 || ! current_function_returns_struct))
/* Generate RTL to flush the register windows so as to make arbitrary frames
available. */