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: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Doug Gregor <doug dot gregor at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 7 Feb 2008 20:00:44 +0000 (UTC)
- Subject: Re: [C++ PATCH] Battle of the comptypes (PR c++/35049)
- References: <24b520d20802050952v3e7ea05cn3d1b76fc188b5f89@mail.gmail.com> <47AAC6D5.20805@gnu.org>
On Thu, 7 Feb 2008, Paolo Bonzini wrote:
> 1) bulk-rename the calls to comptypes in the C front-end to same_type_p
That name would be misleading. The test is for compatibility, not
sameness; int[] and int[5] are compatible, not the same.
--
Joseph S. Myers
joseph@codesourcery.com