public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/26725]  New: ICE in check_reg_live, at haifa-sched.c:4645 with -O2 at IPF
@ 2006-03-17 10:37 grigory_zagorodnev at linux dot intel dot com
  2006-03-17 14:46 ` [Bug rtl-optimization/26725] [4.2 Regression] ICE in check_reg_live, at haifa-sched.c:4645 with -O2 on ia64 pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: grigory_zagorodnev at linux dot intel dot com @ 2006-03-17 10:37 UTC (permalink / raw)
  To: gcc-bugs

GCC 4.2 revision 112135 failed to compile SPEC cpu2000/197.parser.
Here is the minimal reproducer:

struct Exp_struct {
    char type;
    unsigned char cost;
};
extern void foo();
void print_expression(struct Exp_struct * n)
{
  int i;
  if (n->type == 2)
  {
    for (i=0; i<n->cost; i++) foo();
    foo();
  } else {
    for (i=0; i<n->cost; i++) foo();
    if (n->cost == 0) foo();
  }
}

$ gcc-42 -c -O2 par.c                                          
par.c: In function 'print_expression':
par.c:17: internal compiler error: in check_reg_live, at haifa-sched.c:4645
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in check_reg_live, at haifa-sched.c:4645 with -O2 at
                    IPF
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: grigory_zagorodnev at linux dot intel dot com
 GCC build triplet: ia64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-04-25 21:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-17 10:37 [Bug rtl-optimization/26725] New: ICE in check_reg_live, at haifa-sched.c:4645 with -O2 at IPF grigory_zagorodnev at linux dot intel dot com
2006-03-17 14:46 ` [Bug rtl-optimization/26725] [4.2 Regression] ICE in check_reg_live, at haifa-sched.c:4645 with -O2 on ia64 pinskia at gcc dot gnu dot org
2006-03-22  4:16 ` pinskia at gcc dot gnu dot org
2006-03-30 15:11 ` mkuvyrkov at gcc dot gnu dot org
2006-04-17 18:29 ` tbm at cyrius dot com
2006-04-21 15:49 ` tbm at cyrius dot com
2006-04-24  8:29 ` tbm at cyrius dot com
2006-04-25 21:34 ` rsandifo at gcc dot gnu dot org
2006-04-25 21:36 ` rsandifo at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).