This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12123] New: H8300 ICE for C++ program


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 -----------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]