This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12370] [3.4 regression] wrong code when adding friend
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2003 02:12:25 -0000
- Subject: [Bug c++/12370] [3.4 regression] wrong code when adding friend
- References: <20030922204035.12370.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 [ <anonymous> ])) -1 (nil)
(nil))
Which is right. Looks some thing is going wrong because of the friend, maybe another GC
problem again?