This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r191464 - in /trunk/gcc: ChangeLog common.opt d...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 19 Sep 2012 09:29:58 -0000
- Subject: r191464 - in /trunk/gcc: ChangeLog common.opt d...
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 <rguenther@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