From: Georg-Johann Lay Date: Sun, 2 Nov 2025 14:06:02 +0000 (+0100) Subject: AVR: Don't run avr/torture/pr84211-fuse-move-1.c with -flto. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1267fce9aeb860717f6473f077f844027d872644;p=thirdparty%2Fgcc.git AVR: Don't run avr/torture/pr84211-fuse-move-1.c with -flto. This test case failed since LTO failed on a global asm. gcc/testsuite/ * gcc.target/avr/torture/pr84211-fuse-move-1.c: Add -fno-lto. --- diff --git a/gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c b/gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c index 82ce22796b3..4924e9d93dc 100644 --- a/gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c +++ b/gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-additional-options -std=gnu99 } */ +/* Disable LTO since it has problems with flobal asm. */ +/* { dg-additional-options { -std=gnu99 -fno-lto } } */ #define USE_VALUE 0