summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-22 15:22:04 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-22 15:22:04 +0000
commit79e0cff74052972ae3794cdb4791864d406d16ec (patch)
tree21b476dfc623e3356f62e5f133c7927ccbfccdc1 /gcc/dwarf2out.c
parent84972db5b3f112ca1c838dc3bd7b2f333b99adea (diff)
downloadgcc-79e0cff74052972ae3794cdb4791864d406d16ec.tar.gz
2012-09-22 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 191642 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@191643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 06920a9d1fb..8ee0f6a6327 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 (DECL_SOURCE_LOCATION (decl) == UNKNOWN_LOCATION)
+ if (IS_UNKNOWN_LOCATION (DECL_SOURCE_LOCATION (decl)))
return;
s = expand_location (DECL_SOURCE_LOCATION (decl));
add_AT_file (die, DW_AT_decl_file, lookup_filename (s.file));