On 2026-03-02 11:46, Richard Earnshaw (foss) wrote:
On 02/03/2026 10:42, Richard Biener wrote:
On Mon, 2 Mar 2026, Torbjörn SVENSSON wrote:
Ok for trunk?
OK.
Wait!
How is this failing for you? I'm not seeing that happen in my results.
The entire test output is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124320#c0
Kind regards,
Torbjörn
R.
--
The inline assembler in the test case is incompatible with -mthumb for
arm-none-eabi toolchains.
gcc/testsuite/ChangeLog:
PR testsuite/124320
* gcc.dg/lto/toplevel-extended-asm-1_0.c: Skip test for thumb
mode.
Signed-off-by: Torbjörn SVENSSON <[email protected]>
---
gcc/testsuite/gcc.dg/lto/toplevel-extended-asm-1_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/lto/toplevel-extended-asm-1_0.c
b/gcc/testsuite/gcc.dg/lto/toplevel-extended-asm-1_0.c
index 341d95ae0d5..8988a06c0a7 100644
--- a/gcc/testsuite/gcc.dg/lto/toplevel-extended-asm-1_0.c
+++ b/gcc/testsuite/gcc.dg/lto/toplevel-extended-asm-1_0.c
@@ -1,4 +1,5 @@
/* { dg-lto-do link } */
+/* { dg-skip-if "inline assembler not compatible" { arm_thumb1 || arm_thumb2 }
} */
/* { dg-lto-options {{-O2 -flto -flto-partition=1to1} } } */
void asm_fn();