+2011-03-22 Joseph Myers <joseph@codesourcery.com>
+
+ * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags
+ via opts pointer. Don't assert that global structures are in use.
+
2011-03-22 Joseph Myers <joseph@codesourcery.com>
* config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry.
/* Implement TARGET_HANDLE_OPTION. */
static bool
-pdp11_handle_option (struct gcc_options *opts, struct gcc_options *opts_set,
+pdp11_handle_option (struct gcc_options *opts,
+ struct gcc_options *opts_set ATTRIBUTE_UNUSED,
const struct cl_decoded_option *decoded,
location_t loc ATTRIBUTE_UNUSED)
{
size_t code = decoded->opt_index;
- gcc_assert (opts == &global_options);
- gcc_assert (opts_set == &global_options_set);
-
switch (code)
{
case OPT_m10:
- target_flags &= ~(MASK_40 | MASK_45);
+ opts->x_target_flags &= ~(MASK_40 | MASK_45);
return true;
default: