diff options
author | Martin Liska <mliska@suse.cz> | 2021-10-08 09:51:19 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-10-11 15:02:27 +0200 |
commit | 6b7a246d137b9d2a88a899169014a0614195e5c8 (patch) | |
tree | 563220d0161e9ed1afc346b5e37d390b238fd0d1 /gcc/toplev.c | |
parent | f70977936a306e2fb4140361ba47bf5d5cc0a47d (diff) | |
download | gcc-6b7a246d137b9d2a88a899169014a0614195e5c8.zip gcc-6b7a246d137b9d2a88a899169014a0614195e5c8.tar.gz gcc-6b7a246d137b9d2a88a899169014a0614195e5c8.tar.bz2 |
Remove usage of IRA_REGION_AUTODETECT
gcc/ChangeLog:
* common.opt: Remove usage of IRA_REGION_AUTODETECT.
* flag-types.h (enum ira_region): Likewise.
* toplev.c (process_options): Use OPTION_SET_P instead of
IRA_REGION_AUTODETECT.
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 81748b1..b878234 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1319,7 +1319,7 @@ process_options (bool no_backend) } /* One region RA really helps to decrease the code size. */ - if (flag_ira_region == IRA_REGION_AUTODETECT) + if (!OPTION_SET_P (flag_ira_region)) flag_ira_region = optimize_size || !optimize ? IRA_REGION_ONE : IRA_REGION_MIXED; |