diff options
| author | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-11 12:15:37 +0000 |
|---|---|---|
| committer | matz <matz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-11 12:15:37 +0000 |
| commit | e2a16530b28695a6d86c89624b5c809d2fcd6704 (patch) | |
| tree | 63e1f196d9f9f06f79d080d807ed4e94a5f42f48 | |
| parent | 9badce91cc53e29aade9780980e9820c87a92ab6 (diff) | |
| download | ppe42-gcc-e2a16530b28695a6d86c89624b5c809d2fcd6704.tar.gz ppe42-gcc-e2a16530b28695a6d86c89624b5c809d2fcd6704.zip | |
* i386/i386.c: (override_options): Move initialisation from
flag_schedule_insns_after_reload to here from ...
(optimization_options): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138953 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/i386/i386.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 194937e88ea..7f1ce9eead9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-08-11 Michael Matz <matz@suse.de> + + * i386/i386.c (override_options): Move initialisation from + flag_schedule_insns_after_reload to here from ... + (optimization_options): ... here. + 2008-08-11 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/36998 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 206ee418c5d..8da85e16e5c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3173,6 +3173,11 @@ override_options (bool main_args_p) *p = '\0'; } + /* When scheduling description is not available, disable scheduler pass + so it won't slow down the compilation and make x87 code slower. */ + if (!TARGET_SCHEDULE) + flag_schedule_insns_after_reload = flag_schedule_insns = 0; + if (!PARAM_SET_P (PARAM_SIMULTANEOUS_PREFETCHES)) set_param_value ("simultaneous-prefetches", ix86_cost->simultaneous_prefetches); @@ -3942,11 +3947,6 @@ optimization_options (int level, int size ATTRIBUTE_UNUSED) flag_schedule_insns = 0; #endif - /* When scheduling description is not available, disable scheduler pass - so it won't slow down the compilation and make x87 code slower. */ - if (!TARGET_SCHEDULE) - flag_schedule_insns_after_reload = flag_schedule_insns = 0; - if (TARGET_MACHO) /* The Darwin libraries never set errno, so we might as well avoid calling them when that's the only reason we would. */ |

