This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36154] [4.3 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2727
- 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: 7 May 2008 20:04:30 -0000
- Subject: [Bug middle-end/36154] [4.3 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2727
- References: <bug-36154-16155@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-05-07 20:04 -------
Reduced testcase, fails at -O:
struct eth_test_pkt {
unsigned short len;
unsigned short ctr;
unsigned char packet[];
} __attribute__ ((packed));
struct eth_test_pkt pkt_unaligned = { .packet = { 0xFC } };
int cmd_unaligned(const void *p)
{
return memcmp(p, pkt_unaligned.packet, 1);
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|powerpc-eabispe |
Keywords| |ice-on-valid-code
Known to fail| |4.3.0
Known to work| |4.2.3 4.4.0
Last reconfirmed|0000-00-00 00:00:00 |2008-05-07 20:04:30
date| |
Summary|internal compiler error: in |[4.3 Regression] internal
|get_constraint_for_component|compiler error: in
|_ref, at tree-ssa- |get_constraint_for_component
|structalias.c:2727 |_ref, at tree-ssa-
| |structalias.c:2727
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36154