This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
delete LIBCALL note after split
- From: Sa Liu <SALIU at de dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 30 Jul 2007 16:20:21 +0200
- Subject: delete LIBCALL note after split
Hi,
I'm working on GCC 4.1.1 on spu target and get following problem:
After splitting an insn with a note REG_LIBCALL, the insn is replaced by
some other insns, which don't attach REG_LIBCALL note any more, and the
original one is then deleted. While the insn REG_RETVAL still points to
the LIBCALL insn, which doesn't exist after the split. After reload it
tries to delete the LIBCALL insn referenced by RETVAL, but it has been
deleted already.
The question is how to avoid deleting the LIBCALL note twice? Is it
possible to have RETVAL note point to the new insn split from LIBCALL
note? Any idea to solve this problem would be appreciated...
Thanks!
Sa