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
> + if (type)
> + {
> + tree tinfo = get_tinfo_decl (type);
> + mark_used (tinfo);
> + }
>
> will penalize not-function-at-a-time mode compilation because it will
> result in generating additional typeinfos, even when the back end
> optimizes away the handlers.
>
> So, this is not OK.
How would you propose to fix this in correct way? Doing marking early
only when unit-at-a-time is active_
Honza
>
> --
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
>