blob: b761cb950045768cd7e229d3780f40459f17170c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* { dg-do run } */
/* { dg-options "-flto -fipa-type-escape-analysis -fdump-ipa-type-escape-analysis " } */
#include <assert.h>
#include <stdio.h>
#include <stddef.h>
int
main (int argc, char **argv)
{
struct astruct_s
{
_Bool a;
_Bool b;
_Bool c;
_Bool d;
};
struct astruct_s a[2][2];
struct astruct_s b = a[argc][argc];
printf("%d %d %d\n", b.a, b.c, b.d);
}
|