This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11421] [3.4 regression] vtables are not emitted in unit-at-a-time mode


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11421



------- Additional Comments From mark at codesourcery dot com  2003-07-10 06:37 -------
Subject: Re:  [3.4 regression] vtables are not
	emitted in unit-at-a-time mode

On Mon, 2003-07-07 at 14:36, Jan Hubicka wrote:
> > PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11421
> > 
> > 
> > 
> > ------- Additional Comments From martin at mpa-garching dot mpg dot de  2003-07-07 09:53 -------
> > Subject: Re:  [3.4 regression] vtables are not emitted
> >  in unit-at-a-time mode
> > 
> > Hi,
> > 
> > I finally have a testcase that reproduces the problem even with your
> > patch applied. Hopefully it helps you identify the problem; I'm
> > more or less at my wits' end.
> 
> Hi,
> it is again problem with marking vtables as needed.  I don't quite
> understand the rules, but it seems to me that all public vtables must be
> output.  This is at least what old code did because it uses
> DECL_NEEDED_P that test it this way.  This patch changes the code to
> imitate it in unit-at-a-time (for PUBLIC and !COMDAT vtables before
> comdat_linkage is called we mark the vtables as needed).
> 
> Does this look OK?

Yes, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]