From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9008 invoked by alias); 23 Sep 2003 02:12:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8994 invoked by uid 48); 23 Sep 2003 02:12:25 -0000 Date: Tue, 23 Sep 2003 08:56:00 -0000 Message-ID: <20030923021225.8992.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030922204035.12370.reichelt@gcc.gnu.org> References: <20030922204035.12370.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12370] [3.4 regression] wrong code when adding friend X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg01775.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12370 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[3.4 regression] wrong code |[3.4 regression] wrong code |involving friends |when adding friend ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-23 02:12 ------- >>From looking into the RTL: (insn 16 15 17 (set (mem/f:SI (reg/f:SI 56 virtual-outgoing-args) [0 S4 A32]) (addressof:SI (reg/v:SI 61) 60 0x400e28dc)) -1 (nil) (nil)) 61 is not used any more after that function or before it either. Getting rid of the friend: (insn 16 15 17 (set (mem/f:SI (reg/f:SI 56 virtual-outgoing-args) [0 S4 A32]) (reg/v/f:SI 58 [ ])) -1 (nil) (nil)) Which is right. Looks some thing is going wrong because of the friend, maybe another GC problem again?