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 debug/42138] New: ICE on h8300 target


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


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