OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40351.c] - Rev 300

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR tree-optimizations/40351 */
 
struct IO_APIC_route_entry {
    unsigned int vector : 8;
    unsigned int delivery_mode : 1;
    unsigned int mask : 1;
    unsigned int __reserved_2 : 15;
    unsigned int __reserved_3 : 8;
} __attribute__ ((packed));
union entry_union {
    struct {
        unsigned int w1, w2;
    };
    struct IO_APIC_route_entry entry;
};
unsigned int io_apic_read(void);
struct IO_APIC_route_entry ioapic_read_entry(void)
{
  union entry_union eu;
  eu.w1 = io_apic_read();
  return eu.entry;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.