diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-10-12 09:27:19 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2022-10-13 18:44:20 +0200 |
commit | c853d655ab27d288b9dcadb2920f7cd28dc1390d (patch) | |
tree | 8152e697ec7d8b0bc12afd787af0482c36624880 /libcpp/generated_cpp_wcwidth.h | |
parent | fc748d47e95dd612f4a0ef408851df0293173fd8 (diff) | |
download | gcc-c853d655ab27d288b9dcadb2920f7cd28dc1390d.zip gcc-c853d655ab27d288b9dcadb2920f7cd28dc1390d.tar.gz gcc-c853d655ab27d288b9dcadb2920f7cd28dc1390d.tar.bz2 |
Fix emit_group_store regression on big-endian
The recent optimization implemented for complex modes contains an oversight
for big-endian platforms: it uses a lowpart SUBREG when the integer modes
have different sizes, but this does not match the semantics of the PARALLELs
which have a bundled byte offset; this offset is always zero in the code
path and the lowpart is not at offset zero on big-endian platforms.
gcc/
* expr.cc (emit_group_stote): Fix handling of modes of different
sizes for big-endian targets in latest change and add commentary.
Diffstat (limited to 'libcpp/generated_cpp_wcwidth.h')
0 files changed, 0 insertions, 0 deletions