This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14093] New: Internal compiler error for code when using -mhitachi option in SH.
- From: "rajeshs1 at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Feb 2004 09:50:01 -0000
- Subject: [Bug target/14093] New: Internal compiler error for code when using -mhitachi option in SH.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Try the code below with sh-coff toolchain
----------------bug.c ---------------------
char foo(void);
void bar()
{
char gc = foo();
}
----------------bug.c ---------------------
Compile with
sh-coff-gcc -m2 -mhitachi bug.c
It generates following error:
bug.c: In function 'bar':
bug.c:4: internal compiler error: in emit_move_insn, at expr.c:2776
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs/html> for instructions.
--
Summary: Internal compiler error for code when using -mhitachi
option in SH.
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rajeshs1 at kpitcummins dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14093