blob: b3c8f739ef328458d1538c054947c71415bad55f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do run } */
/* { dg-options "-flto -flto-partition=none -fipa-dead-field-eliminate -fdump-ipa-structure-reorg -fipa-typelist-field=b -fipa-typelist-struct=astruct_s" } */
#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];
}
|