aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-02-05 05:26:45 +0000
committerDoug Evans <dje@gnu.org>1995-02-05 05:26:45 +0000
commit6697c6bf7f30841df630ede04050e1c9e2383ed9 (patch)
tree658b59df2846dce5a644cf3d642ba6fb81637c75 /gcc/dbxout.c
parent2ec6afdde74db9ab4223db14c2dde07bd4057ed9 (diff)
downloadgcc-6697c6bf7f30841df630ede04050e1c9e2383ed9.zip
gcc-6697c6bf7f30841df630ede04050e1c9e2383ed9.tar.gz
gcc-6697c6bf7f30841df630ede04050e1c9e2383ed9.tar.bz2
(dbxout_source_file): Clean up null tree pointer test. Update copyright.
From-SVN: r8867
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 5da643a..d8f5e80 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