This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ patch] one more missed mark_used
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Aug 2003 13:40:31 +0200
- Subject: Re: [C++ patch] one more missed mark_used
- References: <20030730173156.GZ24216@kam.mff.cuni.cz> <1059694982.17539.56.camel@doubledemon.codesourcery.com> <20030801093654.GA10192@kam.mff.cuni.cz>
> > 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