https://gcc.gnu.org/g:4274a4f2f5406b394d1af2868556bc7503f22470

commit r17-5207-g4274a4f2f5406b394d1af2868556bc7503f22470
Author: John David Anglin <[email protected]>
Date:   Wed Oct 14 15:32:45 2026 -0400

    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:
---
 gcc/testsuite/gcc.dg/lto/toplevel-simple-asm-1_0.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 ed97073521f9..276cc19233f8 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:");

Reply via email to