From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25969 invoked by alias); 26 Feb 2002 15:07:45 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 25895 invoked from network); 26 Feb 2002 15:07:39 -0000 Received: from unknown (HELO mailout08.sul.t-online.com) (194.25.134.20) by sources.redhat.com with SMTP; 26 Feb 2002 15:07:39 -0000 Received: from fwd05.sul.t-online.de by mailout08.sul.t-online.com with smtp id 16ffmU-0005OC-0F; Tue, 26 Feb 2002 12:28:26 +0100 Received: from rose.fpx.de (520065607613-0001@[217.226.97.222]) by fwd05.sul.t-online.com with esmtp id 16ffmG-2F2hFJC; Tue, 26 Feb 2002 12:28:12 +0100 Received: (from fp@localhost) by rose.fpx.de (8.9.3/8.8.5) id MAA00840 for gcc@gcc.gnu.org; Tue, 26 Feb 2002 12:05:49 +0100 Date: Tue, 26 Feb 2002 07:39:00 -0000 From: 520065607613-0001@t-online.de (Frank Pilhofer) To: gcc@gcc.gnu.org Subject: gcc 3.0.4 + PR3145.patch patch Message-ID: <20020226120549.D487@rose.fpx.de> Reply-To: Frank Pilhofer Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wULyF7TL5taEdwHz" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: 520065607613-0001@t-dialin.net X-SW-Source: 2002-02/txt/msg01576.txt.bz2 --wULyF7TL5taEdwHz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 435 Hi, I am evaluating whether gcc 3.0.4 plus the contrib/PR3145.patch is able to compile and run our Mico ORB. Looks good so far. However, I had to move a variable declaration to the beginning of a block in gcc/cp/search.c. The patch is attached. Just in case anyone cares ... Frank -- Frank Pilhofer ........................................... fp@fpx.de Most people don't act stupid, it's the real thing! - A. E. Neuman --wULyF7TL5taEdwHz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-length: 873 *** gcc/cp/search.c.orig Tue Feb 26 09:31:37 2002 --- gcc/cp/search.c Tue Feb 26 09:31:43 2002 *************** *** 474,479 **** --- 474,480 ---- for (i = TREE_VEC_LENGTH (bases); i--;) { + base_kind bk; tree base_binfo = TREE_VEC_ELT (bases, i); int this_non_public = is_non_public; int this_virtual = is_virtual; *************** *** 494,500 **** if (TREE_VIA_VIRTUAL (base_binfo)) this_virtual = 1; ! base_kind bk = lookup_base_r (base_binfo, base, access, within_current_scope, this_non_public, this_virtual, binfo_ptr); --- 495,501 ---- if (TREE_VIA_VIRTUAL (base_binfo)) this_virtual = 1; ! bk = lookup_base_r (base_binfo, base, access, within_current_scope, this_non_public, this_virtual, binfo_ptr); --wULyF7TL5taEdwHz--