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: Minor fixes to type remapping in tree-inline.c


On Fri, Jun 25, 2004 at 03:16:52PM -0400, Richard Kenner wrote:
> !   /* Make an equivalent VAR_DECL with the remapped type.  */
>     var = copy_decl_for_inlining (p, fn, VARRAY_TREE (id->fns, 0));
> +   TREE_TYPE (var) = remap_type (TREE_TYPE (var), id);

It looks like we're also missing some other bits from remap_decl,
such as DECL_ARG_TYPE_AS_WRITTEN, DECL_SIZE*.



r~


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