This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12123] New: H8300 ICE for C++ program
- From: "NitinY at KPITCummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2003 07:01:42 -0000
- Subject: [Bug c++/12123] New: H8300 ICE for C++ program
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12123
Summary: H8300 ICE for C++ program
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: NitinY at KPITCummins dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: h8300-unknown-coff
Following C++ program when compiled for H8/300 target, compiler generates an
Internal Compiler Error.
The error is observed on GCC 3.3 as well as GCC 3.4 branch.
h8300-elf-g++ test.cc -S
------------------- test.cc Start -----------------------------
static unsigned int array1[7];
typedef struct
{
unsigned long sar;
unsigned long dar;
unsigned int cra;
unsigned int crb;
} DtcRamInfo;
static const DtcRamInfo test =
{
0,
(((int)&array1[0]) & 0xFFFFFF),
7,
0
};
------------------- test.cc End -----------------------------