aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-12-08 23:43:40 +0000
committerAlan Modra <amodra@gcc.gnu.org>2005-12-09 10:13:40 +1030
commit2c42e193fac564efa66f4b2875a30df5bed6504b (patch)
treec74c912d0c4b432dd1cd7a793aa0522f2dc242a6 /gcc/dwarf2out.c
parent6d66414c171c195ac821aa54f35234542759be5b (diff)
downloadgcc-2c42e193fac564efa66f4b2875a30df5bed6504b.zip
gcc-2c42e193fac564efa66f4b2875a30df5bed6504b.tar.gz
gcc-2c42e193fac564efa66f4b2875a30df5bed6504b.tar.bz2
re PR debug/24908 (ICE in dwarf2out for cpu2000 with -funroll-loops -fno-tree-copyrename)
PR debug/24908 * dwarf2out.c (dwarf2out_frame_debug_expr): Don't assert that call_used_regs can't be used to save reg in another reg. From-SVN: r108257
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3752fa6..ba7ce83 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -1568,11 +1568,10 @@ dwarf2out_frame_debug_expr (rtx expr, const char *label)
else
{
/* Saving a register in a register. */
- gcc_assert (call_used_regs [REGNO (dest)]
- && (!fixed_regs [REGNO (dest)]
- /* For the SPARC and its register window. */
- || DWARF_FRAME_REGNUM (REGNO (src))
- == DWARF_FRAME_RETURN_COLUMN));
+ gcc_assert (!fixed_regs [REGNO (dest)]
+ /* For the SPARC and its register window. */
+ || (DWARF_FRAME_REGNUM (REGNO (src))
+ == DWARF_FRAME_RETURN_COLUMN));
queue_reg_save (label, src, dest, 0);
}
break;