This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug optimization/11421] New: [3.4 regression] vtables are not emitted in unit-at-a-time mode
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: martin at mpa-garching dot mpg dot de <gcc-bugzilla at gcc dot gnu dot org>,gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Thu, 3 Jul 2003 05:40:32 -0700
- Subject: Re: [Bug optimization/11421] New: [3.4 regression] vtables are not emitted in unit-at-a-time mode
- References: <20030703085958.11421.martin@mpa-garching.mpg.de> <20030703122332.GC21240@kam.mff.cuni.cz>
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