aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-04-25 19:05:08 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-04-25 19:05:08 -0700
commit6bfd0c63fe2dd008297767295656c24048475a3f (patch)
tree14cfd1bcabb13a0684d852bc631626a092455737 /gcc
parent7a430e3be4473ea4537933732c57c950a201da81 (diff)
downloadgcc-6bfd0c63fe2dd008297767295656c24048475a3f.zip
gcc-6bfd0c63fe2dd008297767295656c24048475a3f.tar.gz
gcc-6bfd0c63fe2dd008297767295656c24048475a3f.tar.bz2
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: r52776
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.h4
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. */