https://gcc.gnu.org/g:111f8cae6424dad7c257ee16615b8513b9efe831
commit r17-1251-g111f8cae6424dad7c257ee16615b8513b9efe831 Author: Eric Botcazou <[email protected]> Date: Wed Jun 3 11:54:25 2026 +0200 Ada: Adjust testcase after latest change The size clause of 32 bits requires an alignment clause of 4 for atomicity. gcc/testsuite/ PR ada/125581 * gnat.dg/atomic9.adb (NVIC_STIR): Add alignment clause. Diff: --- gcc/testsuite/gnat.dg/atomic9.adb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gnat.dg/atomic9.adb b/gcc/testsuite/gnat.dg/atomic9.adb index 1dab33cb40c5..9ea12e1bd2b1 100644 --- a/gcc/testsuite/gnat.dg/atomic9.adb +++ b/gcc/testsuite/gnat.dg/atomic9.adb @@ -14,8 +14,9 @@ procedure Atomic9 is with Import, Atomic, - Size => 32, - Address => Register'Address; + Alignment => 4, + Size => 32, + Address => Register'Address; begin NVIC_STIR := IRQ;
