From bc8b6c988dc2b85732a32d2fabf33a63c3153034 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 19 Sep 2009 01:17:25 +0200 Subject: [PATCH] re PR bootstrap/41397 (RTL checking failure compiling libiberty) PR bootstrap/41397 * dwarf2out.c (mem_loc_descriptor) : Recurse instead of assuming it has always a REG inside of it. From-SVN: r151872 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 709c5aafbf1..b080063a1a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-09-19 Jakub Jelinek + + PR bootstrap/41397 + * dwarf2out.c (mem_loc_descriptor) : Recurse + instead of assuming it has always a REG inside of it. + 2009-09-18 Gerald Pfeifer * config/freebsd.h: Update comment on types. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index d2d2fefd153..7202a8e22d0 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -11070,8 +11070,8 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, rtl = XEXP (rtl, 0); if (GET_MODE_SIZE (GET_MODE (rtl)) > DWARF2_ADDR_SIZE) break; - - /* ... fall through ... */ + mem_loc_result = mem_loc_descriptor (rtl, mode, initialized); + break; case REG: /* Whenever a register number forms a part of the description of the