]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Add padding to trampoline
authorAndrew Stubbs <ams@baylibre.com>
Fri, 9 Aug 2024 11:45:42 +0000 (11:45 +0000)
committerAndrew Stubbs <ams@baylibre.com>
Fri, 9 Aug 2024 12:24:32 +0000 (12:24 +0000)
commitb5a09a68bf0feaf0b0678d8f3433f776238d3896
tree887b4b90208366bc8d7e5e9d81793df678572d86
parent9f5d22e3e2b8e4532896a4f3837cb86006d5930c
amdgcn: Add padding to trampoline

This avoids a -Wpadded warning (testcase gcc.dg/20050607-1.c).

gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_asm_trampoline_template): Add .align.
* config/gcn/gcn.h (TRAMPOLINE_SIZE): Increase to 40.
gcc/config/gcn/gcn.cc
gcc/config/gcn/gcn.h