https://gcc.gnu.org/g:1fcdf214335fe047e42016a5915177f754a4f263

commit r16-4235-g1fcdf214335fe047e42016a5915177f754a4f263
Author: John David Anglin <[email protected]>
Date:   Sun Oct 5 12:52:28 2025 -0400

    hppa: Fix over alignment of 64-bit functions
    
    Both 32 and 64-bit assembly code needs 32-bit alignment.
    
    2025-10-05  John David Anglin  <[email protected]>
    
    gcc/ChangeLog:
    
            * config/pa/pa.h (FUNCTION_BOUNDARY): Set to 32.

Diff:
---
 gcc/config/pa/pa.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index be845c83690b..6972faae8ec4 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -292,7 +292,7 @@ typedef struct GTY(()) machine_function
 #define PREFERRED_STACK_BOUNDARY (TARGET_64BIT ? 128 : 512)
 
 /* Allocation boundary (in *bits*) for the code of a function.  */
-#define FUNCTION_BOUNDARY BITS_PER_WORD
+#define FUNCTION_BOUNDARY 32
 
 /* Alignment of field after `int : 0' in a structure.  */
 #define EMPTY_FIELD_BOUNDARY 32

Reply via email to