On Tue, 10 Jan 2012, Richard Guenther wrote: > This fixes LTO not honoring -Werror (similar for all other > non-C-family frontends), despite handling -Werror= just fine. > The issue is that the diagnostic context is only adjusted from > the c-family handle-options routine, not from the common > one (which does process -Werror= though). > > Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk?
OK. -- Joseph S. Myers jos...@codesourcery.com