summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index b07824bbe90..144caa96a7d 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -1017,7 +1017,7 @@ static void
sdbout_one_type (tree type)
{
if (current_function_decl != NULL_TREE
- && DECL_SECTION_NAME (current_function_decl) != NULL_TREE)
+ && DECL_SECTION_NAME (current_function_decl) != NULL)
; /* Don't change section amid function. */
else
switch_to_section (current_function_section ());