From: Richard Stallman Date: Fri, 10 Jul 1992 23:17:51 +0000 (+0000) Subject: (LINK_LIBGCC_SPECIAL): Defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cc98222953ccc484682d1489e6f59b6f9adec8d;p=gcc.git (LINK_LIBGCC_SPECIAL): Defined. (DBX_OUTPUT_STANDARD_TYPES): Check that DECL_NAME(decl) exists before trying to get its IDENTIFIER_POINTER. From-SVN: r1555 --- diff --git a/gcc/config/i860/fx2800.h b/gcc/config/i860/fx2800.h index f69ef4fd7fb..703eea81369 100644 --- a/gcc/config/i860/fx2800.h +++ b/gcc/config/i860/fx2800.h @@ -46,6 +46,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* #undef HAVE_ATEXIT */ #define I860_STRICT_ABI_PROLOGUES +#define LINK_LIBGCC_SPECIAL 1 /* Most of the Alliant-specific definitions here are to get stab info that Alliant's dbx can understand. */ @@ -113,7 +114,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ \ for (i=1;*dtyps[i];i++) \ for (decl = syms; decl; decl = TREE_CHAIN(decl)) \ - if ((TREE_CODE (decl) == TYPE_DECL) && \ + if ((TREE_CODE (decl) == TYPE_DECL) && DECL_NAME(decl) && \ !strcmp(IDENTIFIER_POINTER(DECL_NAME(decl)), dtyps[i])) { \ TYPE_SYMTAB_ADDRESS (TREE_TYPE (decl)) = i; \ typevec[i] = TYPE_DEFINED; \ @@ -122,7 +123,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ } \ \ for (decl = syms; decl; decl = TREE_CHAIN(decl)) \ - if ((TREE_CODE (decl) == TYPE_DECL) && \ + if ((TREE_CODE (decl) == TYPE_DECL) && DECL_NAME(decl) && \ !strcmp(IDENTIFIER_POINTER(DECL_NAME(decl)),"long int")) { \ TYPE_SYMTAB_ADDRESS (TREE_TYPE (decl)) = i; \ typevec[i] = TYPE_DEFINED; \ @@ -133,7 +134,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ } \ \ for (decl = syms; decl; decl = TREE_CHAIN(decl)) \ - if ((TREE_CODE (decl) == TYPE_DECL) && !strcmp( \ + if ((TREE_CODE (decl) == TYPE_DECL) && DECL_NAME(decl) && !strcmp( \ IDENTIFIER_POINTER(DECL_NAME(decl)),"long unsigned int")) { \ TYPE_SYMTAB_ADDRESS (TREE_TYPE (decl)) = i; \ typevec[i] = TYPE_DEFINED; \