]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Don't run avr/torture/pr84211-fuse-move-1.c with -flto.
authorGeorg-Johann Lay <avr@gjlay.de>
Sun, 2 Nov 2025 14:06:02 +0000 (15:06 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Sun, 2 Nov 2025 15:11:24 +0000 (16:11 +0100)
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.

gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c

index 82ce22796b3d787d1dbd677eacc54a6b06640c82..4924e9d93dcd5bbc493e6055a86a2b616d91c48b 100644 (file)
@@ -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