This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Eliminate need for third argument to comptypes in C front end
- From: Geoff Keating <geoffk at geoffk dot org>
- To: zack at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Aug 2003 20:53:54 -0700
- Subject: Re: Eliminate need for third argument to comptypes in C front end
- References: <87r837difv.fsf@codesourcery.com>
> From: "Zack Weinberg" <zack@codesourcery.com>
> Cc: geoffk@geoffk.org
> Date: Tue, 26 Aug 2003 17:59:16 -0700
> This patch makes comptypes capable of figuring out for itself whether
> or not two structure types come from different translation units. The
> point of this change is that in the future, the caller of comptypes
> may not know where the structures came from. I did not get rid of the
> flags argument because that would have made the patch much bigger, and
> because the equivalent function in the C++ front end has a flags
> argument used for a different purpose. Getting rid of it in C would
> therefore hinder future projects to combine the front ends.
>
> Geoff, I'd appreciate your opinion here - I'm not going to check this
> in yet. It passed bootstrap both with and without --enable-intermodule
> but I may have missed something subtle.
This all looks reasonable to me.
--
- Geoffrey Keating <geoffk@geoffk.org>