[Bug tree-optimization/23486] New: ICE in execute_todo, at passes.c:677

belyshev at depni dot sinp dot msu dot ru gcc-bugzilla@gcc.gnu.org
Fri Aug 19 19:00:00 GMT 2005


// compile with -O3

struct v { int n; };
foo (struct v *v, int *q)
{
  q [v->n ++] = 0;
}
bar (int b, void *p, int *q)
{
  for (;;)
    foo (b ? p : 0, q);
}
//----------------------------------------------------------------------------

t2.c: In function ‘bar’:
t2.c:7: internal compiler error: in execute_todo, at passes.c:677

-- 
           Summary: ICE in execute_todo, at passes.c:677
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list