Monday, September 2, 2024 5:36 PM Richard Sandiford <richard.sandif...@arm.com> wrote:
>> In some cases, the alignment can be bigger than BIGGEST_ALIGNMENT. >> The patch handles these cases. >> >> gcc/ChangeLog: >> >> * config/aarch64/aarch64-coff.h (ASM_OUTPUT_ALIGNED_LOCAL): >> Change alignment. > > Can you go into more detail? What kind of testcase requires this? The issue was detected while building FFmpeg. It creates structures, most likely for AVX optimization. For instance: float __attribute__((aligned (32))) large_aligned_array[3]; BIGGEST_ALIGNMENT could be up to 512 bits on x64. This patch has been added to cover this case without needing to change the FFmpeg code. Regards, Evgeny