summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-05 05:26:45 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-05 05:26:45 +0000
commit06cfae359115066fbc0b879a77d7a6a50cc4df95 (patch)
tree658b59df2846dce5a644cf3d642ba6fb81637c75 /gcc/dbxout.c
parente2c6fa5e2200ad5340a4b00b84a47cf5634f5aad (diff)
downloadgcc-06cfae359115066fbc0b879a77d7a6a50cc4df95.tar.gz
(dbxout_source_file): Clean up null tree pointer test. Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8867 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 5da643a19c5..d8f5e80522c 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1,5 +1,5 @@
/* Output dbx-format symbol table information from GNU compiler.
- Copyright (C) 1987, 1988, 1992, 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 92, 93, 94, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -518,7 +518,7 @@ dbxout_source_file (file, filename)
fprintf (file, "%s ", ASM_STABS_OP);
output_quoted_string (file, filename);
fprintf (file, ",%d,0,0,%s\n", N_SOL, &ltext_label_name[1]);
- if (current_function_decl
+ if (current_function_decl != NULL_TREE
&& DECL_SECTION_NAME (current_function_decl) != NULL_TREE)
; /* Don't change section amid function. */
else