diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-12 17:47:02 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-12 17:47:02 +0000 |
commit | 731049b6e90e749e244fa80dc53b7389a3c16405 (patch) | |
tree | 6201cce6994d447f77b667b85d86a24a1811486b /gcc/config/mn10300 | |
parent | 3562cea78fafd23bb4c95fe63d9a6b7af7c0f604 (diff) | |
download | gcc-731049b6e90e749e244fa80dc53b7389a3c16405.tar.gz |
mn10300: Force lower-subreg pass to run.
There are a number of tests that fail -- generally ones involving
generic vectorization -- at -O0 because we run out of registers.
The lower-subreg pass cleans things up sufficiently to allow these
tests to succeed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168721 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300')
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 5f2d63b5e51..65e34445567 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -127,6 +127,12 @@ mn10300_option_override (void) not have timing information available for it. */ flag_schedule_insns = 0; flag_schedule_insns_after_reload = 0; + + /* Force enable splitting of wide types, as otherwise it is trivial + to run out of registers. Indeed, this works so well that register + allocation problems are now more common *without* optimization, + when this flag is not enabled by default. */ + flag_split_wide_types = 1; } if (mn10300_tune_string) |