From 0cb057cb45a7da7e21d222a4866f99e4de947aa9 Mon Sep 17 00:00:00 2001 From: vmakarov Date: Wed, 23 Nov 2011 18:51:17 +0000 Subject: 2011-11-23 Vladimir Makarov 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 --- gcc/flag-types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/flag-types.h') 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. */ -- cgit v1.2.1