summaryrefslogtreecommitdiffstats
path: root/gcc/common
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-02 20:56:44 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-02 20:56:44 +0000
commite9f1fe8605d5c23f537bf6fd654a71a662037fd4 (patch)
tree87ca30f58ef96592d12e14304a378557c09d4af7 /gcc/common
parentad5f1481145166ac9fb2d18cba1a062396b56a0f (diff)
downloadppe42-gcc-e9f1fe8605d5c23f537bf6fd654a71a662037fd4.tar.gz
ppe42-gcc-e9f1fe8605d5c23f537bf6fd654a71a662037fd4.zip
2012-05-02 Ulrich Weigand <ulrich.weigand@linaro.org>
gcc/ * common/config/s390/s390-common.c (s390_option_optimization_table): Enable -fsched-pressure using -fsched-pressure-algorithm=model by default when optimizing. gcc/testsuite/ * gcc.target/s390/20030123-1.c: Add missing "volatile". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187064 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/s390/s390-common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/common/config/s390/s390-common.c b/gcc/common/config/s390/s390-common.c
index 98b5c283aaa..4d364283ae3 100644
--- a/gcc/common/config/s390/s390-common.c
+++ b/gcc/common/config/s390/s390-common.c
@@ -51,6 +51,12 @@ static const struct default_options s390_option_optimization_table[] =
{
{ OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
+ /* Enable -fsched-pressure using -fsched-pressure-algorithm=model
+ by default when optimizing. */
+ { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
+ { OPT_LEVELS_1_PLUS, OPT_fsched_pressure_algorithm_,
+ NULL, SCHED_PRESSURE_MODEL },
+
/* ??? There are apparently still problems with -fcaller-saves. */
{ OPT_LEVELS_ALL, OPT_fcaller_saves, NULL, 0 },
OpenPOWER on IntegriCloud