* optabs.c (init_optabs): Guard all accesses to reinit.
* ipa-pure-const.c (propagate): Fix another typo.
* opts.c (common_handle_option): Split assignment to bool.
* c-opts.c (c_common_handle_option): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160102
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-06-01 Richard Guenther <rguenther@suse.de>
+
+ * optabs.c (init_optabs): Guard all accesses to reinit.
+ * ipa-pure-const.c (propagate): Fix another typo.
+ * opts.c (common_handle_option): Split assignment to bool.
+ * c-opts.c (c_common_handle_option): Likewise.
+
2010-06-01 Arnaud Charlet <charlet@adacore.com>
Matthew Gingell <gingell@adacore.com>
break;
case OPT_fpermissive:
- global_dc->permissive = flag_permissive = value;
+ flag_permissive = value;
+ global_dc->permissive = value;
break;
case OPT_fpreprocessed:
}
pure_const_state = MAX (pure_const_state, MIN (edge_state,
w_l->state_previously_known));
- looping = MAX (looping, MIN (edge_looping, edge_state));
+ looping = MAX (looping, MIN (edge_looping,
+ w_l->looping_previously_known));
if (pure_const_state == IPA_NEITHER)
break;
}
init_optabs (void)
{
unsigned int i;
+#if GCC_VERSION >= 4000 && HAVE_DESIGNATED_INITIALIZERS
static bool reinit;
+#endif
libfunc_hash = htab_create_ggc (10, hash_libfunc, eq_libfunc, NULL);
/* Start by initializing all tables to contain CODE_FOR_nothing. */
/* Allow the target to add more libcalls or rename some, etc. */
targetm.init_libfuncs ();
+#if GCC_VERSION >= 4000 && HAVE_DESIGNATED_INITIALIZERS
reinit = true;
+#endif
}
/* Print information about the current contents of the optabs on
break;
case OPT_pedantic_errors:
- global_dc->pedantic_errors = flag_pedantic_errors = pedantic = 1;
+ flag_pedantic_errors = pedantic = 1;
+ global_dc->pedantic_errors = 1;
break;
case OPT_fwhopr: