aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>1998-10-12 21:34:12 +0200
committerJason Merrill <jason@gcc.gnu.org>1998-10-12 15:34:12 -0400
commit76fb7947e66368adc02e06e275a19b6db4725643 (patch)
tree672c561c738b72fc54df6b0a057855ca22881611
parent0816ebdd9b37e9d5c079cab5d527551ea925bc94 (diff)
downloadgcc-76fb7947e66368adc02e06e275a19b6db4725643.zip
gcc-76fb7947e66368adc02e06e275a19b6db4725643.tar.gz
gcc-76fb7947e66368adc02e06e275a19b6db4725643.tar.bz2
* decl.c (start_function): Fix cut-and-paste error.
From-SVN: r23031
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b7d2bcc..ed33ae2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+1998-10-12 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+ * decl.c (start_function): Fix cut-and-paste error.
+
1998-10-12 Jason Merrill <jason@yorick.cygnus.com>
* inc/typeinfo: Add #pragma interface.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index ad1fd63..49c24db 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -12380,7 +12380,7 @@ start_function (declspecs, declarator, attrs, pre_parsed_p)
DECL_INITIAL (decl1) = error_mark_node;
#ifdef SET_DEFAULT_DECL_ATTRIBUTES
- SET_DEFAULT_DECL_ATTRIBUTES (decl1, attributes);
+ SET_DEFAULT_DECL_ATTRIBUTES (decl1, attrs);
#endif
/* This function exists in static storage.