Re: implement LangEnabledBy

2012-05-14 Thread Joseph S. Myers
On Mon, 14 May 2012, Manuel L?pez-Ib??ez wrote: > 2012-05-13 Manuel L?pez-Ib??ez > > c-family/ > * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init, > Wreorder): Use LangEnabledBy. > * c-opts.c (c_common_handle_option): Do not enable them > explicitly. Ca

implement LangEnabledBy

2012-05-13 Thread Manuel López-Ibáñez
Hi Joseph, I think this implementation matches what we were discussing. Bootstrapped and regression tested. OK? 2012-05-13 Manuel López-Ibáñez c-family/ * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init, Wreorder): Use LangEnabledBy. * c-opts.c (c_commo