This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATH] PR C++/12047
> On Sun, 2003-09-28 at 02:15, Jan Hubicka wrote:
> > Hi,
> > this is apparently another missing mark_used on eh type. I remember
> > myself adding this one already, but apparently it got lost. OK?
>
> That change should be OK. Used-ness just means that the thing appeared
> in the program -- not that it was actually emitted.
>
> However, instead of build1 (ADDR_EXPR, ...) that code should be using
> build_address. (One key benefit is that this will set TREE_CONSTANT on
> the ADDR_EXPR if appropriate, which it may well be in this case.)
>
> Your patch is OK, but if you can test the build_address change as well
> that would be better.
OK, I will try the patch together with the change to build_adress and
install it if suceeds.
Thanks,
Honza
>
> --
> Mark Mitchell <mark@codesourcery.com>
> CodeSourcery, LLC