diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-06-17 17:10:05 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2020-06-17 17:11:45 +0200 |
commit | 914eadfe86a0400e0e378819001c785ecb30aab2 (patch) | |
tree | 79fdaf5aa7f9707f45b2a0b329480319ffcb4bdb /gcc/cp/class.c | |
parent | 8a9e230f41eb406380ab0d9c2b73031133d54259 (diff) | |
download | gcc-914eadfe86a0400e0e378819001c785ecb30aab2.zip gcc-914eadfe86a0400e0e378819001c785ecb30aab2.tar.gz gcc-914eadfe86a0400e0e378819001c785ecb30aab2.tar.bz2 |
IBM Z: Prevent mach optimization on doloop patterns
s390_fix_long_loop_prediction is used in machine dependent
reorg. There we use single_set to distingiush between conditional
jumps and branch on count patterns. However, single_set returns a
non-NULL value also for PARALLELs in case one of the SETs is dead.
2020-06-17 Andreas Krebbel <krebbel@linux.ibm.com>
gcc/
* config/s390/s390.c (s390_fix_long_loop_prediction): Exit early
for PARALLELs.
gcc/testsuite/
* gcc.target/s390/20200617.c: New test.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions