This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12370] [3.4 regression] wrong code when adding friend


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]