public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5474] PR c/108150 - Fix alignment test for Windows targets
@ 2023-01-28 16:32 Jonathan Yong
  0 siblings, 0 replies; only message in thread
From: Jonathan Yong @ 2023-01-28 16:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ff3d99c5e72126cf8d4c7611a63a82dfc476cdbe

commit r13-5474-gff3d99c5e72126cf8d4c7611a63a82dfc476cdbe
Author: Jonathan Yong <10walls@gmail.com>
Date:   Sun Jan 8 01:28:34 2023 +0000

    PR c/108150 - Fix alignment test for Windows targets
    
    gcc/testsuite/ChangeLog:
    
            PR c/108150
            * gcc.dg/attr-aligned.c: Make errors emitted on Windows
            target same as on Linux.
    
    Signed-off-by: Jonathan Yong <10walls@gmail.com>

Diff:
---
 gcc/testsuite/gcc.dg/attr-aligned.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/attr-aligned.c b/gcc/testsuite/gcc.dg/attr-aligned.c
index a2e11c96180..887bdd0f379 100644
--- a/gcc/testsuite/gcc.dg/attr-aligned.c
+++ b/gcc/testsuite/gcc.dg/attr-aligned.c
@@ -22,6 +22,9 @@
 #  define ALIGN_MAX_STATIC      2
 /* Work around a pdp11 ICE (see PR target/87821).  */
 #  define ALIGN_MAX_AUTO        (ALIGN_MAX_HARD >> 14)
+#elif __WIN32__ || __CYGWIN__
+#  define ALIGN_MAX_STATIC      8192
+#  define ALIGN_MAX_AUTO        8192
 #elif __powerpc64__ || __x86_64__
 /* Is this processor- or operating-system specific?  */
 #  define ALIGN_MAX_STATIC      ALIGN_MAX_HARD

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-28 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28 16:32 [gcc r13-5474] PR c/108150 - Fix alignment test for Windows targets Jonathan Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).