aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2003-11-13 16:34:42 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2003-11-13 16:34:42 +0000
commit79ae853c64afa946d36d98404dadb5bcd09974a3 (patch)
treee3d008fbf37d84a00ec55c877b35d0382b79159d /gcc
parentf144e859ccd1cc36450d3e58c9e4af406c8f596a (diff)
downloadgcc-79ae853c64afa946d36d98404dadb5bcd09974a3.zip
gcc-79ae853c64afa946d36d98404dadb5bcd09974a3.tar.gz
gcc-79ae853c64afa946d36d98404dadb5bcd09974a3.tar.bz2
* decl.c (grokfndecl): Change OK to type tree.
From-SVN: r73549
Diffstat (limited to 'gcc')
-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 0584924..7f8402d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-13 Richard Earnshaw <rearnsha@arm.com>
+
+ * decl.c (grokfndecl): Change OK to type tree.
+
2003-11-12 Mark Mitchell <mark@codesourcery.com>
* tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 93368c5..b247274 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -5683,7 +5683,7 @@ grokfndecl (tree ctype,
if (old_decl)
{
- bool ok;
+ tree ok;
/* Since we've smashed OLD_DECL to its
DECL_TEMPLATE_RESULT, we must do the same to DECL. */