[Bug c++/18676] ice

2004-11-25 Thread pinskia 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


[Bug c++/18676] ice

2004-11-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-25 
22:25 ---


*** This bug has been marked as a duplicate of 18378 ***

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18676


[Bug c++/18676] ice

2004-11-25 Thread pluto at pld-linux dot org

--- Additional Comments From pluto at pld-linux dot org  2004-11-25 21:01 
---
Created an attachment (id=7610)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7610&action=view)
testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18676