This is the mail archive of the gcc-patches@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]

Re: failing to copy NOTEs


On Mon, Jan 31, 2000 at 01:44:26PM +0000, Bernd Schmidt wrote:
> I've had a brief look.  While the patch probably isn't wrong, I think there
> is another problem lurking in this code.  The abort you get from the testcase
> happens when copy_rtx_and_substitute is called from integrate_decl_tree
> (the note is the DECL_RTL of some decl).  Later on, the note is "copied"
> again (using emit_note), when processing the insn chain.  This means you'll
> get two copies of it, the one in the copied DECL_RTL being different from
> the one in the insn chain, which is most likely not what's intented.

Hmm.  While what you say is true, I can't seem to make it matter
when it comes to the debug info.

I think the best short-term solution is to revert the jump.c hunk
causing the problems.


r~

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