34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
2009-05-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
PR target/39942
|
|
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Don't emit second
|
|
.p2align 3 if MAX_SKIP is smaller than 7.
|
|
* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
|
|
|
--- gcc/config/i386/x86-64.h.jj 2009-05-05 08:33:20.000000000 +0200
|
|
+++ gcc/config/i386/x86-64.h 2009-05-05 16:37:13.000000000 +0200
|
|
@@ -74,7 +74,9 @@ see the files COPYING3 and COPYING.RUNTI
|
|
fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
|
|
/* Make sure that we have at least 8 byte alignment if > 8 byte \
|
|
alignment is preferred. */ \
|
|
- if ((LOG) > 3 && (1 << (LOG)) > ((MAX_SKIP) + 1)) \
|
|
+ if ((LOG) > 3 \
|
|
+ && (1 << (LOG)) > ((MAX_SKIP) + 1) \
|
|
+ && (MAX_SKIP) >= 7) \
|
|
fprintf ((FILE), "\t.p2align 3\n"); \
|
|
} \
|
|
} \
|
|
--- gcc/config/i386/linux.h.jj 2009-05-05 08:33:20.000000000 +0200
|
|
+++ gcc/config/i386/linux.h 2009-05-05 16:37:13.000000000 +0200
|
|
@@ -153,7 +153,9 @@ along with GCC; see the file COPYING3.
|
|
fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
|
|
/* Make sure that we have at least 8 byte alignment if > 8 byte \
|
|
alignment is preferred. */ \
|
|
- if ((LOG) > 3 && (1 << (LOG)) > ((MAX_SKIP) + 1)) \
|
|
+ if ((LOG) > 3 \
|
|
+ && (1 << (LOG)) > ((MAX_SKIP) + 1) \
|
|
+ && (MAX_SKIP) >= 7) \
|
|
fprintf ((FILE), "\t.p2align 3\n"); \
|
|
} \
|
|
} \
|