diff options
author | Richard Guenther <rguenther@suse.de> | 2012-09-19 09:31:49 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-09-19 09:31:49 +0000 |
commit | 9745abfd1ccb85110ce39ec3563a7c2a48c69ff4 (patch) | |
tree | 458804d1992fe4edd222c73f777bb97172f70d0b /gcc | |
parent | bf7a718571e1722ec2aad8e0bfc337dc597ac2d2 (diff) | |
download | gcc-9745abfd1ccb85110ce39ec3563a7c2a48c69ff4.zip gcc-9745abfd1ccb85110ce39ec3563a7c2a48c69ff4.tar.gz gcc-9745abfd1ccb85110ce39ec3563a7c2a48c69ff4.tar.bz2 |
re PR other/53316 (Introduce -Og)
2012-09-19 Richard Guenther <rguenther@suse.de>
PR other/53316
* common/common-target.h (OPT_LEVELS_1_PLUS_NOT_DEBUG): Add.
From-SVN: r191465
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/common/common-target.h | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e066b14..d4d4f1b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,11 @@ 2012-09-19 Richard Guenther <rguenther@suse.de> PR other/53316 + * common/common-target.h (OPT_LEVELS_1_PLUS_NOT_DEBUG): Add. + +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. diff --git a/gcc/common/common-target.h b/gcc/common/common-target.h index cd2d47c..1ff3e45 100644 --- a/gcc/common/common-target.h +++ b/gcc/common/common-target.h @@ -33,10 +33,11 @@ enum opt_levels OPT_LEVELS_ALL, /* All levels (used by targets to disable options enabled in target-independent code). */ OPT_LEVELS_0_ONLY, /* -O0 only. */ - OPT_LEVELS_1_PLUS, /* -O1 and above, including -Os. */ - OPT_LEVELS_1_PLUS_SPEED_ONLY, /* -O1 and above, but not -Os. */ + OPT_LEVELS_1_PLUS, /* -O1 and above, including -Os and -Og. */ + OPT_LEVELS_1_PLUS_SPEED_ONLY, /* -O1 and above, but not -Os or -Og. */ + OPT_LEVELS_1_PLUS_NOT_DEBUG, /* -O1 and above, but not -Og. */ OPT_LEVELS_2_PLUS, /* -O2 and above, including -Os. */ - OPT_LEVELS_2_PLUS_SPEED_ONLY, /* -O2 and above, but not -Os. */ + OPT_LEVELS_2_PLUS_SPEED_ONLY, /* -O2 and above, but not -Os or -Og. */ OPT_LEVELS_3_PLUS, /* -O3 and above. */ OPT_LEVELS_3_PLUS_AND_SIZE, /* -O3 and above and -Os. */ OPT_LEVELS_SIZE, /* -Os only. */ |