From 0641fa9781e8cd257e0113360bef387bcbfd4b96 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 1 Jun 2010 13:00:46 +0000 Subject: optabs.c (init_optabs): Guard all accesses to reinit. 2010-06-01 Richard Guenther * 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. From-SVN: r160102 --- gcc/opts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index c9255e0..8699ec3 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -2182,7 +2182,8 @@ common_handle_option (size_t scode, const char *arg, int value, 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: -- cgit v1.1