8sa1-gcc/gcc/config/aarch64
z00219097 b5cebc9ab7 aarch64: Fix an ICE in register_tuple_type [PR95523]
When registering the tuple type in register_tuple_type, the
TYPE_ALIGN (tuple_type) will be changed by -fpack-struct=n. We need to
maintain natural alignment in handle_arm_sve_h.

2020-06-10  Haijian Zhang  <z.zhanghaijian@huawei.com>

gcc/
	PR target/95523
	* config/aarch64/aarch64-sve-builtins.h
	(sve_switcher::m_old_maximum_field_alignment): New member.
	* config/aarch64/aarch64-sve-builtins.cc
	(sve_switcher::sve_switcher): Save maximum_field_alignment in
	m_old_maximum_field_alignment and clear maximum_field_alignment.
	(sve_switcher::~sve_switcher): Restore maximum_field_alignment.

gcc/testsuite/
	PR target/95523
	* gcc.target/aarch64/sve/pr95523.c: New test.
2020-06-10 16:58:51 +01:00
..
aarch64-arches.def
aarch64-bti-insert.c
aarch64-builtins.c
aarch64-c.c
aarch64-cores.def aarch64: Add initial support for -mcpu=zeus 2020-06-02 17:42:48 +01:00
aarch64-cost-tables.h
aarch64-d.c
aarch64-elf-raw.h
aarch64-elf.h
aarch64-errata.h
aarch64-freebsd.h
aarch64-fusion-pairs.def
aarch64-ldpstp.md
aarch64-linux.h
aarch64-modes.def
aarch64-netbsd.h
aarch64-option-extensions.def
aarch64-opts.h
aarch64-passes.def
aarch64-protos.h
aarch64-simd-builtin-types.def
aarch64-simd-builtins.def
aarch64-simd.md
aarch64-speculation.cc
aarch64-sve2.md
aarch64-sve-builtins-base.cc
aarch64-sve-builtins-base.def
aarch64-sve-builtins-base.h
aarch64-sve-builtins-functions.h
aarch64-sve-builtins-shapes.cc
aarch64-sve-builtins-shapes.h
aarch64-sve-builtins-sve2.cc
aarch64-sve-builtins-sve2.def
aarch64-sve-builtins-sve2.h
aarch64-sve-builtins.cc aarch64: Fix an ICE in register_tuple_type [PR95523] 2020-06-10 16:58:51 +01:00
aarch64-sve-builtins.def
aarch64-sve-builtins.h aarch64: Fix an ICE in register_tuple_type [PR95523] 2020-06-10 16:58:51 +01:00
aarch64-sve.md AArch64+SVE: Add support for unpacked unary ops and BIC 2020-06-09 12:23:56 +01:00
aarch64-tune.md aarch64: Add initial support for -mcpu=zeus 2020-06-02 17:42:48 +01:00
aarch64-tuning-flags.def
aarch64-vxworks.h
aarch64.c AArch64: Adjust costing of by element MUL to be the same as SAME3 MUL. 2020-06-10 11:55:46 +01:00
aarch64.h aarch64: Fix missed shrink-wrapping opportunity 2020-05-28 13:18:13 +01:00
aarch64.md
aarch64.opt
arm_acle.h
arm_bf16.h
arm_fp16.h
arm_neon.h
arm_sve.h
atomics.md
biarchilp32.h
biarchlp64.h
check-sve-md.awk
constraints.md
cortex-a57-fma-steering.c
driver-aarch64.c
falkor-tag-collision-avoidance.c
falkor.md
geniterators.sh
gentune.sh
iterators.md
predicates.md
rtems.h
saphira.md
t-aarch64
t-aarch64-freebsd
t-aarch64-linux
t-aarch64-netbsd
t-aarch64-vxworks
thunderx2t99.md
thunderx3t110.md
thunderx.md
tsv110.md
x-aarch64