This is the mail archive of the gcc@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]

[4.0/4.1 regression]


Hi,

I've filed PR25218:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25218

which leads at -O3 to:

4.0.1
bug.c:20: internal compiler error: in compensate_edge, at reg-stack.c:2795
4.1
bug.c:20: internal compiler error: in initialize_original_copy_tables, at cfg.c:1025


Cheers,

Joost

---------------------------------------
static float rgam;
extern void *jmp(void *);

void drotmg(float d1) {
void *labels[] = { &&L170, &&L180, 0 };

  for(;;) {
    goto *jmp(labels);

    if (d1 <= rgam)
      goto L170;

L170:
    if (d1 <= rgam)
      goto L170;
  }

L180:
  goto L170;
}
---------------------------------------


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