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 falk dot hueffner at student dot uni-tuebingen dot de  2003-07-07 21:55 -------
Subject: Re:  [3.4 regression] vtables are not emitted in unit-at-a-time mode

"jh at suse dot cz" <gcc-bugzilla@gcc.gnu.org> writes:

> --- 1635,1641 ----
>   {
>     tree vtbl;
>     tree primary_vtbl;
> +   bool needed;

Shouldn't this be initialized to false?
  
> --- 1663,1671 ----
>   	note_debug_info_needed (ctype);
>         return false;
>       }
> +   else if (TREE_PUBLIC (vtbl) && !DECL_COMDAT (vtbl))
> +     needed = 1;
> +

And this should probably be true instead of 1...


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