diff options
author | Ulrich Weigand <ulrich.weigand@linaro.org> | 2012-05-02 20:56:44 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2012-05-02 20:56:44 +0000 |
commit | aefa216b7eb3e9b444bf1c81181a336e41d6150b (patch) | |
tree | 87ca30f58ef96592d12e14304a378557c09d4af7 /gcc | |
parent | d282264edf36116d5c55d0da59a612468608d9ca (diff) | |
download | gcc-aefa216b7eb3e9b444bf1c81181a336e41d6150b.zip gcc-aefa216b7eb3e9b444bf1c81181a336e41d6150b.tar.gz gcc-aefa216b7eb3e9b444bf1c81181a336e41d6150b.tar.bz2 |
s390-common.c (s390_option_optimization_table): Enable -fsched-pressure using -fsched-pressure-algorithm=model by default when...
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".
From-SVN: r187064
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/common/config/s390/s390-common.c | 6 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/s390/20030123-1.c | 2 |
4 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8367cb6..4d945c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-05-02 Ulrich Weigand <ulrich.weigand@linaro.org> + + * common/config/s390/s390-common.c (s390_option_optimization_table): + Enable -fsched-pressure using -fsched-pressure-algorithm=model by + default when optimizing. + 2012-05-02 Martin Jambor <mjambor@suse.cz> PR lto/52605 diff --git a/gcc/common/config/s390/s390-common.c b/gcc/common/config/s390/s390-common.c index 98b5c28..4d36428 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 }, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4f831b1..1ed2b0b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-05-02 Ulrich Weigand <ulrich.weigand@linaro.org> + + * gcc.target/s390/20030123-1.c: Add missing "volatile". + 2012-05-02 Martin Jambor <mjambor@suse.cz> PR lto/52605 diff --git a/gcc/testsuite/gcc.target/s390/20030123-1.c b/gcc/testsuite/gcc.target/s390/20030123-1.c index 96ac6f7..c426866 100644 --- a/gcc/testsuite/gcc.target/s390/20030123-1.c +++ b/gcc/testsuite/gcc.target/s390/20030123-1.c @@ -12,7 +12,7 @@ void test (void) char *p = alloca (4096); long idx; - asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12"); + asm volatile ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12"); func (p + idx + 1); } |