re PR bootstrap/41397 (RTL checking failure compiling libiberty)

PR bootstrap/41397
	* dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Recurse
	instead of assuming it has always a REG inside of it.

From-SVN: r151872
This commit is contained in:
Jakub Jelinek 2009-09-19 01:17:25 +02:00 committed by Jakub Jelinek
parent ca94da4829
commit bc8b6c988d
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2009-09-19 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/41397
* dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Recurse
instead of assuming it has always a REG inside of it.
2009-09-18 Gerald Pfeifer <gerald@pfeifer.com>
* config/freebsd.h: Update comment on types.

View file

@ -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