From: Andrew Pinski Date: Wed, 21 Apr 2004 04:33:27 +0000 (+0000) Subject: re PR debug/15033 (libgcc2.c:470: internal compiler error: Segmentation fault) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de3c6d9335f07bc31637bbd99be708f35fd23943;p=gcc.git re PR debug/15033 (libgcc2.c:470: internal compiler error: Segmentation fault) 2004-04-12 Andrew Pinski PR debug/15033 * dwarf2out.c (rtl_for_decl_location): Check for NULL rtl. From-SVN: r80943 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6232143becc..998fe5459a9 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 9cd05a0a644..4cf97124adf 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)