summaryrefslogtreecommitdiff
path: root/gcc/objcp/objcp-decl.c
diff options
context:
space:
mode:
authordgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-07 19:03:40 +0000
committerdgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-07 19:03:40 +0000
commit1d19d3fa5fffece50eab930c259dd33022686a1e (patch)
treee4cd2ba27a824f961f659b2528d21b328ea1da08 /gcc/objcp/objcp-decl.c
parent8364148daca6563ebe3f65e58aba760deee71cee (diff)
downloadgcc-1d19d3fa5fffece50eab930c259dd33022686a1e.tar.gz
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/ext/vector13.C: Fix for compilation under -pedantic. 2008-02-07 Andreas Tobler <andreast-list@fgznet.ch> Douglas Gregor <doug.gregor@gmail.com> PR bootstrap/35115 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objcp/objcp-decl.c')
-rw-r--r--gcc/objcp/objcp-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/objcp/objcp-decl.c b/gcc/objcp/objcp-decl.c
index 12a73c1272a..8197dbe16c1 100644
--- a/gcc/objcp/objcp-decl.c
+++ b/gcc/objcp/objcp-decl.c
@@ -95,7 +95,7 @@ objcp_xref_tag (enum tree_code code ATTRIBUTE_UNUSED, tree name)
int
objcp_comptypes (tree type1, tree type2)
{
- return comptypes (type1, type2, COMPARE_STRICT);
+ return cp_comptypes (type1, type2, COMPARE_STRICT);
}
tree