This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47983] New: ICE on h8300-elf
- From: "ysato at users dot sourceforge.jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Mar 2011 04:36:49 +0000
- Subject: [Bug target/47983] New: ICE on h8300-elf
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47983
Summary: ICE on h8300-elf
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ysato@users.sourceforge.jp
$ h8300-elf-gcc -O2 -mint32 -mh -g -fomit-frame-pointer -S ice-test.c
ice-test.c: In function âfooâ:
ice-test.c:12:1: internal compiler error: in
compute_frame_pointer_to_fb_displacement, at dwarf2out.c:16312
$ cat ice-test.c
extern int bar(char *p, char *, unsigned int, long long *);
char dummy;
int foo(char *a, unsigned int b, long long c)
{
char *p = &dummy;
int ret;
ret = bar(p, a, b, &c);
return ret;
}
I think it code miss compile and generate invalid rtx.