This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Eliminate need for third argument to comptypes in C front end


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]