summaryrefslogtreecommitdiff
path: root/gcc/flag-types.h
diff options
context:
space:
mode:
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-23 18:51:17 +0000
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-23 18:51:17 +0000
commit0cb057cb45a7da7e21d222a4866f99e4de947aa9 (patch)
tree417f4807f2ac303fb2e45ded4d924d1d329be5e0 /gcc/flag-types.h
parentb308229e57ac8c702a7bd095b496ff17249862e1 (diff)
downloadgcc-0cb057cb45a7da7e21d222a4866f99e4de947aa9.tar.gz
2011-11-23 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/48455 * doc/invoke.texi (-fira-region): Document default values. * flags-types.h (enum ira_region): Add new value IRA_REGION_AUTODETECT. * common.opt (fira-region): Set up initial value to IRA_REGION_AUTODETECT. * toplev.c (process_options): Set up flag_ira_region depending on -O options. * ira.c (ira.c): Remove optimize guard for ira_build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flag-types.h')
-rw-r--r--gcc/flag-types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/flag-types.h b/gcc/flag-types.h
index 430ac93805c..f757423e56a 100644
--- a/gcc/flag-types.h
+++ b/gcc/flag-types.h
@@ -118,7 +118,11 @@ enum ira_region
{
IRA_REGION_ONE,
IRA_REGION_ALL,
- IRA_REGION_MIXED
+ IRA_REGION_MIXED,
+ /* This value means that there were no options -fira-region on the
+ command line and that we should choose a value depending on the
+ used -O option. */
+ IRA_REGION_AUTODETECT
};
/* The options for excess precision. */