aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-10 23:17:51 +0000
committerRichard Stallman <rms@gnu.org>1992-07-10 23:17:51 +0000
commit6cc98222953ccc484682d1489e6f59b6f9adec8d (patch)
tree4a2b36dea407ef8abd53256719b014c53f9bfe85 /gcc
parent52a5538b4fda89d923ddc8cb7021d1cd0b8508c7 (diff)
downloadgcc-6cc98222953ccc484682d1489e6f59b6f9adec8d.zip
gcc-6cc98222953ccc484682d1489e6f59b6f9adec8d.tar.gz
gcc-6cc98222953ccc484682d1489e6f59b6f9adec8d.tar.bz2
(LINK_LIBGCC_SPECIAL): Defined.
(DBX_OUTPUT_STANDARD_TYPES): Check that DECL_NAME(decl) exists before trying to get its IDENTIFIER_POINTER. From-SVN: r1555
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i860/fx2800.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/i860/fx2800.h b/gcc/config/i860/fx2800.h
index f69ef4f..703eea8 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; \