[C++ patch] one more missed mark_used
Jan Hubicka
hubicka@ucw.cz
Fri Aug 1 11:40:00 GMT 2003
> > On Wed, 2003-07-30 at 10:31, Jan Hubicka wrote:
> > > Hi,
> > > typeinfo is not produced in unit-at-a-time when it is referenced via EH
> > > tables only.
> >
> > How is this getting output when *not* in unit-at-a-time mode?
> >
> > I'd like to avoid marking it in two separate places.
> It is not marked as used, it is just marked as referenced during output
> of EH tables that is done udring expansion of the function - i.e too
> late for me. Perhaps we can also move expansion of EH tables into
> lower_function but I am not quite sure this is possible as I don't
> understand the machinery enought.
Actually it gets used later. It is in build_eh_type_type that is called
via callback from the backend during expanding the eh handler.
Honza
More information about the Gcc-patches
mailing list