aboutsummaryrefslogtreecommitdiff
path: root/gcc/opt-problem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opt-problem.cc')
-rw-r--r--gcc/opt-problem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opt-problem.cc b/gcc/opt-problem.cc
index 8324feb..e0c7601 100644
--- a/gcc/opt-problem.cc
+++ b/gcc/opt-problem.cc
@@ -42,7 +42,7 @@ along with GCC; see the file COPYING3. If not see
opt_problem::opt_problem (const dump_location_t &loc,
const char *fmt, va_list *ap)
-: m_optinfo (loc, OPTINFO_KIND_FAILURE, current_pass)
+: m_optinfo (loc, optinfo::kind::failure, current_pass)
{
/* We shouldn't be bothering to construct these objects if
dumping isn't enabled. */