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: unassig...@gcc.gnu.org
        ReportedBy: ys...@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.

Reply via email to