[Bug c++/12370] [3.4 regression] wrong code when adding friend
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 23 08:56:00 GMT 2003
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?
More information about the Gcc-bugs
mailing list