aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Yong <10walls@gmail.com>2025-04-09 14:29:39 +0000
committerJonathan Yong <10walls@gmail.com>2025-04-11 01:57:27 +0000
commit7e6255edeb5a01d6ae1c2fa5bed391a836726229 (patch)
tree9f2607a645cd15dd36ff721e21030c637cfa487d /gcc
parentf4cdbd619d89147cf5767ddbb10fbeee8f1b0cbc (diff)
downloadgcc-7e6255edeb5a01d6ae1c2fa5bed391a836726229.zip
gcc-7e6255edeb5a01d6ae1c2fa5bed391a836726229.tar.gz
gcc-7e6255edeb5a01d6ae1c2fa5bed391a836726229.tar.bz2
bf-ms-attrib.c: Fix expected struct size
Both gcc and msvc agree that the struct size should be 12, gcc is already correct. Signed-off-by: Jonathan Yong <10walls@gmail.com> gcc/testsuite/ChangeLog: PR target/113633 * gcc.dg/bf-ms-attrib.c: Fix expected __ms_struct__ layout size.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/bf-ms-attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/bf-ms-attrib.c b/gcc/testsuite/gcc.dg/bf-ms-attrib.c
index 2da4f03..5208c7f 100644
--- a/gcc/testsuite/gcc.dg/bf-ms-attrib.c
+++ b/gcc/testsuite/gcc.dg/bf-ms-attrib.c
@@ -32,7 +32,7 @@ main()
/* As long as the sizes are as expected, we know attributes are working.
bf-ms-layout.c makes sure the right thing happens when the attribute
is on. */
- if (sizeof(struct one_ms) != 8)
+ if (sizeof(struct one_ms) != 12)
abort();
if (sizeof(struct one_gcc) != 8)
abort();