diff options
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8ee0f6a..c776f68 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -15552,7 +15552,7 @@ add_src_coords_attributes (dw_die_ref die, tree decl) { expanded_location s; - if (IS_UNKNOWN_LOCATION (DECL_SOURCE_LOCATION (decl))) + if (LOCATION_LOCUS (DECL_SOURCE_LOCATION (decl)) == UNKNOWN_LOCATION) return; s = expand_location (DECL_SOURCE_LOCATION (decl)); add_AT_file (die, DW_AT_decl_file, lookup_filename (s.file)); |