#include "opts.h"
#include "options.h"
#include "target.h"
-#include "diagnostic-core.h"
+#include "diagnostic.h"
#include "toplev.h"
#include "lto-streamer.h"
void *flag_var = option_flag_var (o->code, &global_options);
if (flag_var)
- set_option (&global_options, o->code, o->value, o->arg,
- 0 /*DK_UNSPECIFIED*/);
+ set_option (&global_options, &global_options_set,
+ o->code, o->value, o->arg,
+ DK_UNSPECIFIED, global_dc);
if (o->type == CL_TARGET)
targetm.handle_option (o->code, o->arg, o->value);