diff options
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index a2c87491d21..d13983ce811 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -3604,7 +3604,7 @@ darwin_function_section (tree decl, enum node_frequency freq, /* If there is a specified section name, we should not be trying to override. */ - if (decl && DECL_SECTION_NAME (decl) != NULL_TREE) + if (decl && DECL_SECTION_NAME (decl) != NULL) return get_named_section (decl, NULL, 0); /* We always put unlikely executed stuff in the cold section. */ |