From c7c9d0ca5d6168d3aaee1c2f8abbad0eec73d092 Mon Sep 17 00:00:00 2001 From: pinskia Date: Wed, 21 Apr 2004 04:33:27 +0000 Subject: [PATCH] 2004-04-12 Andrew Pinski PR debug/15033 * dwarf2out.c (rtl_for_decl_location): Check for NULL rtl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80943 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6232143..998fe54 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-04-12 Andrew Pinski + + PR debug/15033 + * dwarf2out.c (rtl_for_decl_location): Check for NULL + rtl. + 2004-04-20 James E Wilson * config/ia64/ia64.md (call_value_nogp): Add constraints for op0. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 9cd05a0..4cf9712 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9757,6 +9757,7 @@ rtl_for_decl_location (tree decl) } } else if (TREE_CODE (decl) == VAR_DECL + && rtl && GET_CODE (rtl) == MEM && GET_MODE (rtl) != TYPE_MODE (TREE_TYPE (decl)) && BYTES_BIG_ENDIAN) -- 2.7.4