Skip to content

Commit 1ba5ea3

Browse files
author
Daniel Kroening
committed
fix gcc_attributes10
1 parent ae9c63e commit 1ba5ea3

File tree

1 file changed

+4
-4
lines changed
  • regression/goto-gcc/gcc_attributes10

1 file changed

+4
-4
lines changed

regression/goto-gcc/gcc_attributes10/main.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#ifdef __GNUC__
55
#ifndef __clang__
66

7-
int x __attribute__ ((__vector_size__ (12), __may_alias__));
7+
int x __attribute__ ((__vector_size__ (16), __may_alias__));
88
int x2 __attribute__ ((__may_alias__));
9-
int x3 __attribute__ ((__may_alias__, __vector_size__ (12)));
9+
int x3 __attribute__ ((__may_alias__, __vector_size__ (16)));
1010

11-
STATIC_ASSERT(sizeof(x)==12);
11+
STATIC_ASSERT(sizeof(x)==16);
1212
STATIC_ASSERT(sizeof(x2)==sizeof(int));
13-
STATIC_ASSERT(sizeof(x3)==12);
13+
STATIC_ASSERT(sizeof(x3)==16);
1414

1515
#endif
1616
#endif

0 commit comments

Comments
 (0)