]> gcc.gnu.org Git - gcc.git/commitdiff
re PR debug/15033 (libgcc2.c:470: internal compiler error: Segmentation fault)
authorAndrew Pinski <pinskia@physics.uc.edu>
Wed, 21 Apr 2004 04:33:27 +0000 (04:33 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 21 Apr 2004 04:33:27 +0000 (21:33 -0700)
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

gcc/ChangeLog
gcc/dwarf2out.c

index 6232143becc151345f23f23c43936f4d511cc4e0..998fe5459a94e1424fac57a4adc80bbf8e1bcb59 100644 (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.
index 9cd05a0a6446d9f147cafbbed4e692af15ba5428..4cf97124adffa00c5d6e324026fccffc7c9893bb 100644 (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)
This page took 0.074696 seconds and 5 git commands to generate.