This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: Doug Gregor <doug dot gregor at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 06 Feb 2008 23:41:03 +0100
- Subject: Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)
- References: <24b520d20802050952v3e7ea05cn3d1b76fc188b5f89@mail.gmail.com>
Doug Gregor wrote:
Tested i386-apple-darwin9.1.0; okay for mainline?
But not with obj-c++. That's broken now!
I do not have a full insight.
But the below brings me a step further. Might be wrong....
Me is wondering about the test results and also how people test....
before committing a patch.
Andreas
Index: objcp-decl.c
===================================================================
--- objcp-decl.c (revision 132159)
+++ objcp-decl.c (working copy)
@@ -95,7 +95,7 @@
int
objcp_comptypes (tree type1, tree type2)
{
- return comptypes (type1, type2, COMPARE_STRICT);
+ return cp_comptypes (type1, type2, COMPARE_STRICT);
}
tree