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 jh at suse dot cz  2003-07-03 18:36 -------
Subject: Re:  [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 martin at mpa-garching dot mpg dot de  2003-07-03 18:34 -------
> Subject: Re:  [3.4 regression] vtables are not emitted in unit-at-a-time mode
> 
> On Thu, Jul 03, 2003 at 05:30:11PM -0000, jh at suse dot cz wrote:
> > OK, please try my other patch.  In the case it won't help it would be
> > nice if you was able to figure out why the vtable must be emit and told
> > maybe_emit_vtables to mark is as needed (this is the place touched by my
> > next-to-last patch), in case you want to have some GCC fun :)
> 
> Too bad, it still didn't work. I played around some more and the problem
> only occurs when -finline-functions is on. So it must be some interplay
> between unit-at-a-time and inlining.

It is probably the case where virtual table must be output, but
unit-at-a-time is not told to do it and it suceeds to elliminate all
references to it in the whole unit.
I will try to check it from the US asap.

Honza
> 
> Hopefully I can give you more information in a few days. I don't dare
> fiddling with GCC itself, since I don't know much about compiler internals.
> 
> Thanks again for your help,
>   Martin
> 
> 
> 
> 
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.


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