ports/lang/bootgcc/patches/patch-gcc_config_pa_pa_h

14 lines
516 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: gcc/config/pa/pa.h
--- gcc/config/pa/pa.h.orig
+++ gcc/config/pa/pa.h
@@ -317,6 +317,9 @@ typedef struct GTY(()) machine_function
&& TYPE_MODE (TREE_TYPE (TYPE)) == QImode \
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
+/* Make local arrays of chars word-aligned for the same reasons. */
+#define LOCAL_ALIGNMENT(TYPE, ALIGN) DATA_ALIGNMENT (TYPE, ALIGN)
+
/* Set this nonzero if move instructions will actually fail to work
when given unaligned data. */
#define STRICT_ALIGNMENT 1