Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave ---
testsuite: Fix gcc.dg/lto/toplevel-simple-asm-1_0.c on hppa*-hpux* With hppa-hpux assemblers, directives and opcodes need to be indented. 2026-10-14 John David Anglin <[email protected]> gcc/testsuite/ChangeLog: * gcc.dg/lto/toplevel-simple-asm-1_0.c: Indent .type directives. diff --git a/gcc/testsuite/gcc.dg/lto/toplevel-simple-asm-1_0.c b/gcc/testsuite/gcc.dg/lto/toplevel-simple-asm-1_0.c index ed97073521f..276cc19233f 100644 --- a/gcc/testsuite/gcc.dg/lto/toplevel-simple-asm-1_0.c +++ b/gcc/testsuite/gcc.dg/lto/toplevel-simple-asm-1_0.c @@ -17,8 +17,8 @@ void asm_fn_used(); #endif #ifdef TYPE_PFX -asm(".global asm_fn\n.type asm_fn, " TYPE_PFX "function\nasm_fn:"); -asm(".global asm_fn_used\n.type asm_fn_used, " TYPE_PFX "function\nasm_fn_used:"); +asm(".global asm_fn\n\t.type asm_fn, " TYPE_PFX "function\nasm_fn:"); +asm(".global asm_fn_used\n\t.type asm_fn_used, " TYPE_PFX "function\nasm_fn_used:"); #else asm(".global asm_fn\nasm_fn:"); asm(".global asm_fn_used\nasm_fn_used:");
