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
+2015-12-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/68760
+ * error.c (dump_global_iord): Use DECL_SOURCE_FILE (t)
+ instead of LOCATION_FILE (input_location).
+
2015-12-07 Ryan Burn <contact@rnburn.com>
PR c++/68683
else
gcc_unreachable ();
- pp_printf (pp, p, LOCATION_FILE (input_location));
+ pp_printf (pp, p, DECL_SOURCE_FILE (t));
}
static void
2015-12-07 Jakub Jelinek <jakub@redhat.com>
+ PR c++/68760
+ * g++.dg/tree-ssa/pr68760.C: New test.
+
PR middle-end/66726
* g++.dg/tree-ssa/pr66726.c: Renamed to...
* g++.dg/tree-ssa/pr66726.C: ... this.
--- /dev/null
+// PR c++/68760
+// { dg-do compile }
+// { dg-options "-fdump-ipa-cgraph" }
+
+struct A { A (); } a;