dwarf2out.c (add_abstract_origin_attribute): Don't abort when the original die cannot...
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 17:51:50 +0000 (17:51 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 17:51:50 +0000 (17:51 +0000)
* dwarf2out.c (add_abstract_origin_attribute): Don't abort when
the original die cannot be found.

From-SVN: r30787

gcc/dwarf2out.c

index 0b62deb689180fef3f35ee936b85ca7cd9c319a9..0a8846999fa05c101306cb68c25e09e2bc57500c 100644 (file)
@@ -7503,7 +7503,7 @@ add_abstract_origin_attribute (die, origin)
     origin_die = lookup_type_die (origin);
 
   if (origin_die == NULL)
-    abort ();
+    return;
   
   add_AT_die_ref (die, DW_AT_abstract_origin, origin_die);
 }