This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: TRANSLATION_UNIT_DECL breaks bootstrap
On Fri, 2003-07-11 at 16:02, Steven Bosscher wrote:
> Op vr 11-07-2003, om 23:14 schreef Mark Mitchell:
> > Geoff --
> >
> > Your patch breaks i686-pc-linux-gnu.
> >
> > The problem is that there is code that expects that file-scope
> > variables have NULL DECL_CONTEXT, and that is no longer true.
>
> Maybe there should be a macro HAS_FILE_SCOPE in tree.h??
Yes, there should, if we stick with this approach. I just wanted to get
us back to bootstrapping ASAP; I'm very confident that Geoff will sort
this out as appropriate.
Thanks,
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC