re PR c++/68760 (ICE in pp_string (pretty-print.c:909))
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Dec 2015 22:44:19 +0000 (23:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Dec 2015 22:44:19 +0000 (23:44 +0100)
commit7c010e27a9e9d975ff265264ae515f7dc9feebd6
treefec34173744c24a84668ab8115b7eb8b72f23a61
parent17c6c56b906d99b45dc5eefa5d39435188235051
re PR c++/68760 (ICE in pp_string (pretty-print.c:909))

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.

From-SVN: r231386
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr68760.C [new file with mode: 0644]