This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18676] ice
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2004 22:27:27 -0000
- Subject: [Bug c++/18676] ice
- References: <20041125205956.18676.pluto@pld-linux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-25 22:27 -------
Note this was the reduced testcase I got:
struct MD5Hash
{
MD5Hash(void) {};
MD5Hash(const MD5Hash &other);
char hash[16];
};
struct PACKET_HEADER
{
MD5Hash setid __attribute__ ((packed));
};
struct MAINPACKET
{
PACKET_HEADER header __attribute__ ((packed));
};
struct MainPacket
{
char *packetdata;
const MD5Hash& SetId(void) const;
};
const MD5Hash& MainPacket::SetId(void) const
{
return ((const MAINPACKET*)packetdata)->header.setid;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18676