This is the mail archive of the gcc-patches@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]

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


On Thu, Jul 03, 2003 at 02:23:32PM +0200, Jan Hubicka wrote:
> Index: decl2.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cp/decl2.c,v
> retrieving revision 1.636
> diff -c -3 -p -r1.636 decl2.c
> *** decl2.c	2 Jul 2003 09:36:17 -0000	1.636
> --- decl2.c	3 Jul 2003 12:17:36 -0000
> *************** prepare_assemble_variable (tree vars)
> *** 1631,1640 ****
>   }
>   
>   /* If necessary, write out the vtables for the dynamic class CTYPE.
> !    Returns true if any vtables were emitted.  */
>   
>   static bool
> ! maybe_emit_vtables (tree ctype)
>   {
>     tree vtbl;
>     tree primary_vtbl;
> --- 1643,1655 ----
>   }
>   
>   /* If necessary, write out the vtables for the dynamic class CTYPE.
> !    Returns true if any vtables were emitted.
> !    When KEYED is true, ensure that the vtables are marked as needed when they
> !    are output.  This is used for virtual tables that are output only in files
> !    deifning some method and thus must appear even when they are unused.  */
       ^^^^^^^^
"defining"

-- 
Matt Kraai          kraai@alumni.cmu.edu          Debian GNU/Linux


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