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
This commit is contained in:
parent
17c6c56b90
commit
7c010e27a9
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
// PR c++/68760
|
||||
// { dg-do compile }
|
||||
// { dg-options "-fdump-ipa-cgraph" }
|
||||
|
||||
struct A { A (); } a;
|
Loading…
Reference in New Issue