https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110743

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reduced testcase:

struct layer_mask {
    unsigned int x : 17;
    unsigned int y : 1;
} __attribute__((__packed__)) __attribute__((__aligned__(sizeof (unsigned
int))));
struct layer_masks {
  struct layer_mask layers[16];
};

void bar (struct layer_masks *);

void foo ()
{
  struct layer_masks layer_masks;
  bar (&layer_masks);
}

Reply via email to