Commit d4fbd953 by Jakub Jelinek

20010904-1.c: New test.

	* gcc.c-torture/execute/20010904-1.c: New test.
	* gcc.c-torture/execute/20010904-2.c: New test.

From-SVN: r45404
parent 662704e7
typedef struct x { int a; int b; } __attribute__((aligned(32))) X;
typedef struct y { X x[32]; int c; } Y;
Y y[2];
int main(void)
{
if (((char *)&y[1] - (char *)&y[0]) & 31)
abort ();
exit (0);
}
typedef struct x { int a; int b; } __attribute__((aligned(32))) X;
typedef struct y { X x; X y[31]; int c; } Y;
Y y[2];
int main(void)
{
if (((char *)&y[1] - (char *)&y[0]) & 31)
abort ();
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment