diff options
Diffstat (limited to 'gcc-4.9/gcc/tree-diagnostic.c')
-rw-r--r-- | gcc-4.9/gcc/tree-diagnostic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/tree-diagnostic.c b/gcc-4.9/gcc/tree-diagnostic.c index ee7155555..dec95f82d 100644 --- a/gcc-4.9/gcc/tree-diagnostic.c +++ b/gcc-4.9/gcc/tree-diagnostic.c @@ -108,6 +108,8 @@ maybe_unwind_expanded_macro_loc (diagnostic_context *context, unsigned ix; loc_map_pair loc, *iter; + if (has_discriminator (where)) + where = map_discriminator_location (where); map = linemap_lookup (line_table, where); if (!linemap_macro_expansion_map_p (map)) return; |