public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Yong <jyong@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5474] PR c/108150 - Fix alignment test for Windows targets Date: Sat, 28 Jan 2023 16:32:14 +0000 (GMT) [thread overview] Message-ID: <20230128163214.2C51B3858D28@sourceware.org> (raw) 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
reply other threads:[~2023-01-28 16:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230128163214.2C51B3858D28@sourceware.org \ --to=jyong@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).