summaryrefslogtreecommitdiff
path: root/gcc/lto-opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-opts.c')
-rw-r--r--gcc/lto-opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c
index f3c5d673823..66010c68adf 100644
--- a/gcc/lto-opts.c
+++ b/gcc/lto-opts.c
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
#include "opts.h"
#include "options.h"
#include "target.h"
-#include "diagnostic-core.h"
+#include "diagnostic.h"
#include "toplev.h"
#include "lto-streamer.h"
@@ -404,7 +404,7 @@ lto_reissue_options (void)
if (flag_var)
set_option (&global_options, &global_options_set,
o->code, o->value, o->arg,
- 0 /*DK_UNSPECIFIED*/);
+ DK_UNSPECIFIED, global_dc);
if (o->type == CL_TARGET)
targetm.handle_option (o->code, o->arg, o->value);