[Bug debug/42138] New: ICE on h8300 target

ysato at users dot sourceforge dot jp gcc-bugzilla@gcc.gnu.org
Sun Nov 22 01:22:00 GMT 2009


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



More information about the Gcc-bugs mailing list