diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-07 22:44:19 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-07 22:44:19 +0000 |
commit | fb79218c35837628f4c1b671a769bfabe8bc7682 (patch) | |
tree | fec34173744c24a84668ab8115b7eb8b72f23a61 /gcc/cp/error.c | |
parent | 6ce5f83b24d4e0620f08e9f9a36d86cfcd2d6495 (diff) | |
download | gcc-fb79218c35837628f4c1b671a769bfabe8bc7682.tar.gz |
PR c++/68760
* error.c (dump_global_iord): Use DECL_SOURCE_FILE (t)
instead of LOCATION_FILE (input_location).
* g++.dg/tree-ssa/pr68760.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231386 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 38548c72fe0..e0ba806b32d 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -953,7 +953,7 @@ dump_global_iord (cxx_pretty_printer *pp, tree t) else gcc_unreachable (); - pp_printf (pp, p, LOCATION_FILE (input_location)); + pp_printf (pp, p, DECL_SOURCE_FILE (t)); } static void |