]> git.ipfire.org Git - thirdparty/gcc.git/commit
s390x: Fix s390_md_asm_adjust handling of long doubles [PR112753]
authorJuergen Christ <jchrist@linux.ibm.com>
Fri, 1 Dec 2023 07:01:36 +0000 (08:01 +0100)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Fri, 1 Dec 2023 07:17:15 +0000 (08:17 +0100)
commit8a2e428591dc97d573cf5c1789c84c8a3884b364
tree2bab736d1c188c964ecefbe6202f532a229126db
parent28944a016bb5eef9a99691b3c55b124882375180
s390x: Fix s390_md_asm_adjust handling of long doubles [PR112753]

Commit 466b100e5fee808d77598e0f294654deec281150 introduced a bug in
s390_md_asm_adjust if vector extensions are not available.  Fix the
control flow of this function to not adjust long double values.

gcc/ChangeLog:

PR target/112753
* config/s390/s390.cc (s390_md_asm_adjust): Return after dealing
with the outputs, if no further processing of long doubles is
required.

gcc/testsuite/ChangeLog:

* gcc.target/s390/pr112753.c: New test.
gcc/config/s390/s390.cc
gcc/testsuite/gcc.target/s390/pr112753.c [new file with mode: 0644]