This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/40351] [4.5 Regression] ice in generate_subtree_copies for Linux kernel build
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2009 11:40:58 -0000
- Subject: [Bug tree-optimization/40351] [4.5 Regression] ice in generate_subtree_copies for Linux kernel build
- References: <bug-40351-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-05 11:40 -------
Reduced testcase, fails with -O.
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;
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org, mjambor at suse dot cz
Status|UNCONFIRMED |NEW
Component|c |tree-optimization
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-06-05 11:40:57
date| |
Summary|ice in |[4.5 Regression] ice in
|generate_subtree_copies for |generate_subtree_copies for
|Linux kernel build |Linux kernel build
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40351