re PR debug/15033 (libgcc2.c:470: internal compiler error: Segmentation fault)

2004-04-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR debug/15033
        * dwarf2out.c (rtl_for_decl_location): Check for NULL
        rtl.

From-SVN: r80943
This commit is contained in:
Andrew Pinski 2004-04-21 04:33:27 +00:00 committed by Andrew Pinski
parent 75293ad62c
commit de3c6d9335
2 changed files with 7 additions and 0 deletions

View File

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

View File

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