(dbxout_source_file): Clean up null tree pointer test. Update copyright.
authorDoug Evans <dje@gnu.org>
Sun, 5 Feb 1995 05:26:45 +0000 (05:26 +0000)
committerDoug Evans <dje@gnu.org>
Sun, 5 Feb 1995 05:26:45 +0000 (05:26 +0000)
From-SVN: r8867

gcc/dbxout.c

index 5da643a19c5e7fc36c286d1b92c3b6012eb95ccb..d8f5e80522c121b10254adffd2940184d518d28d 100644 (file)
@@ -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