diff options
Diffstat (limited to 'gcc/opt-problem.cc')
-rw-r--r-- | gcc/opt-problem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opt-problem.cc b/gcc/opt-problem.cc index dad3a8c..c781ee3 100644 --- a/gcc/opt-problem.cc +++ b/gcc/opt-problem.cc @@ -54,7 +54,7 @@ opt_problem::opt_problem (const dump_location_t &loc, /* Print the location to the "immediate" dump destinations. */ dump_context &dc = dump_context::get (); - dc.dump_loc (MSG_MISSED_OPTIMIZATION, loc); + dc.dump_loc (MSG_MISSED_OPTIMIZATION, loc.get_user_location ()); /* Print the formatted string to this opt_problem's optinfo, dumping the items to the "immediate" dump destinations, and storing items |