modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr40351.c (about)

     1  /* PR tree-optimizations/40351 */
     2  
     3  struct IO_APIC_route_entry {
     4      unsigned int vector : 8;
     5      unsigned int delivery_mode : 1;
     6      unsigned int mask : 1;
     7      unsigned int __reserved_2 : 15;
     8      unsigned int __reserved_3 : 8;
     9  } __attribute__ ((packed));
    10  union entry_union {
    11      struct {
    12          unsigned int w1, w2;
    13      };
    14      struct IO_APIC_route_entry entry;
    15  };
    16  unsigned int io_apic_read(void);
    17  struct IO_APIC_route_entry ioapic_read_entry(void)
    18  {
    19    union entry_union eu;
    20    eu.w1 = io_apic_read();
    21    return eu.entry;
    22  }