From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32286 invoked by alias); 26 Mar 2002 10:46:12 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 32243 invoked by uid 71); 26 Mar 2002 10:46:08 -0000 Date: Tue, 26 Mar 2002 02:46:00 -0000 Message-ID: <20020326104607.32240.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Peter Vermaas Subject: Re: debug/3468: GCC 3.0 produces invalid .def directive for virtual template Reply-To: Peter Vermaas X-SW-Source: 2002-03/txt/msg00967.txt.bz2 List-Id: The following reply was made to PR debug/3468; it has been noted by GNATS. From: Peter Vermaas To: rose@acm.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: debug/3468: GCC 3.0 produces invalid .def directive for virtual template Date: Tue, 26 Mar 2002 11:36:04 +0100 This is a multi-part message in MIME format. --------------010005000404010809050504 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3468 This patch against gcc-3.0.3/gcc/sdbout.c seems to solve this problem for me. --------------010005000404010809050504 Content-Type: text/plain; name="sdbout.patch2" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sdbout.patch2" *** sdbout.c.orig Mon Mar 25 14:21:17 2002 --- sdbout.c Tue Mar 26 11:06:52 2002 *************** *** 1226,1236 **** && host_integerp (DECL_SIZE (tem), 1) && host_integerp (bit_position (tem), 0)) { - const char *name; ! CONTIN; ! name = IDENTIFIER_POINTER (DECL_NAME (tem)); ! PUT_SDB_DEF (name); if (DECL_BIT_FIELD_TYPE (tem)) { PUT_SDB_INT_VAL (int_bit_position (tem)); --- 1226,1238 ---- && host_integerp (DECL_SIZE (tem), 1) && host_integerp (bit_position (tem), 0)) { ! CONTIN; ! if (template_name_p (DECL_NAME (tem))) ! PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (tem))); ! else ! PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (tem))); ! if (DECL_BIT_FIELD_TYPE (tem)) { PUT_SDB_INT_VAL (int_bit_position (tem)); --------------010005000404010809050504--