http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53316
--- Comment #11 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-19 09:30:03 UTC --- Author: rguenth Date: Wed Sep 19 09:29:57 2012 New Revision: 191464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191464 Log: 2012-09-19 Richard Guenther <rguent...@suse.de> PR other/53316 * common.opt (optimize_debug): New variable. (Og): New optimization level. * doc/invoke.texi (Og): Document. * opts.c (maybe_default_option): Add debug parameter. (maybe_default_options): Likewise. (default_options_optimization): Handle -Og. (common_handle_option): Likewise. * passes.c (gate_all_optimizations): Do not run with -Og. (gate_all_optimizations_g): New gate, run with -Og. (pass_all_optimizations_g): New container pass, run with -Og. (init_optimization_passes): Schedule pass_all_optimizations_g alongside pass_all_optimizations. Modified: trunk/gcc/ChangeLog trunk/gcc/common.opt trunk/gcc/doc/invoke.texi trunk/gcc/opts.c trunk/gcc/passes.c