diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 1 |
2 files changed, 7 insertions, 0 deletions
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 <pinskia@physics.uc.edu> + + PR debug/15033 + * dwarf2out.c (rtl_for_decl_location): Check for NULL + rtl. + 2004-04-20 James E Wilson <wilson@specifixinc.com> * 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) |