diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6678795..f1df34d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 Steve Christiansen <smc@us.ibm.com> * doc/md.texi (Machine Constraints): Add IA-64 constraints. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 872b1ee..52644c6 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1918,7 +1918,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. */ |