This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/42138] New: ICE on h8300 target
- From: "ysato at users dot sourceforge dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2009 01:22:10 -0000
- Subject: [Bug debug/42138] New: ICE on h8300 target
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
h8300-elf-gcc -mint32 -mh -O2 -fomit-frame-pointer -g test.c
test.c: In function 'sys_pwrite64':
test.c:19: internal compiler error: in
compute_frame_pointer_to_fb_displacement, at dwarf2out.c:12228
test.c
struct foo {
int foo;
};
struct foo *fget_light(int fd);
long sys_pwrite64(unsigned int fd, const char *buf,
int count, int pos)
{
struct foo *file;
int ret = -9;
int fput_needed;
file = fget_light(fd);
if (file->foo & 16)
ret = vfs_write(file, buf, count, &pos);
return ret;
}
--
Summary: ICE on h8300 target
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ysato at users dot sourceforge dot jp
GCC host triplet: x86_64-linux-gnu
GCC target triplet: h8300-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42138