This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO] register char_type_node
On Fri, 14 Aug 2009, Rafael Espindola wrote:
> 2009/8/14 Richard Guenther <rguenther@suse.de>:
> >
> > I get va_list related fails on i?86 during bootstrapping with LTO
> > because of char_type_node equality checks in the middle-end. ÂThe
> > fix (heh ;)) is to register char_type_node for merging - we never
> > visit it otherwise because we don't stream it out. Âever.
>
> Shouldn't we change the ME to check for signed and unsigned char?
Well. Maybe. Certainly not for signed and unsigned char though, but
maybe for compatibility with the type it is now checking for.
Note the va_arg code is pretty fragile, so I prefer not touching it ;)
Richard.