RE: [PATCH PR95523] aarch64:ICE in register_tuple_type,at config/aarch64/aarch64-sve-builtins.cc:3434

2020-06-10 Thread Zhanghaijian (A)
95523] aarch64:ICE in register_tuple_type,at > config/aarch64/aarch64-sve-builtins.cc:3434 > > Hi, > > "Zhanghaijian (A)" writes: > > This is a simple fix for pr95523. > > When registering the tuple type in register_tuple_type, the TYPE_ALIGN > (tuple_type) will be c

Re: [PATCH PR95523] aarch64:ICE in register_tuple_type,at config/aarch64/aarch64-sve-builtins.cc:3434

2020-06-10 Thread Richard Sandiford
Hi, "Zhanghaijian (A)" writes: > This is a simple fix for 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. > Bootstrap and tested on aarch64 Linux

[PATCH PR95523] aarch64:ICE in register_tuple_type,at config/aarch64/aarch64-sve-builtins.cc:3434

2020-06-10 Thread Zhanghaijian (A)
Hi, This is a simple fix for 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. Bootstrap and tested on aarch64 Linux platform. No new regression witnessed.