https://gcc.gnu.org/g:1267fce9aeb860717f6473f077f844027d872644

commit r16-4931-g1267fce9aeb860717f6473f077f844027d872644
Author: Georg-Johann Lay <[email protected]>
Date:   Sun Nov 2 15:06:02 2025 +0100

    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:
---
 gcc/testsuite/gcc.target/avr/torture/pr84211-fuse-move-1.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 82ce22796b3d..4924e9d93dcd 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

Reply via email to