blob: 7e3812718f0ad427dde6946208f706b8cf27804e (
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);
}
|