aboutsummaryrefslogtreecommitdiff
path: root/gcc/optinfo-emit-json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optinfo-emit-json.cc')
-rw-r--r--gcc/optinfo-emit-json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optinfo-emit-json.cc b/gcc/optinfo-emit-json.cc
index 841a13b..f28a0e3 100644
--- a/gcc/optinfo-emit-json.cc
+++ b/gcc/optinfo-emit-json.cc
@@ -453,7 +453,7 @@ static void
test_building_json_from_dump_calls ()
{
temp_dump_context tmp (true, true, MSG_NOTE);
- dump_location_t loc;
+ dump_user_location_t loc;
dump_printf_loc (MSG_NOTE, loc, "test of tree: ");
dump_generic_expr (MSG_NOTE, TDF_SLIM, integer_zero_node);
optinfo *info = tmp.get_pending_optinfo ();