------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-19 
19:07 -------
Confirmed.
Testcase:
struct v { int n; };
void bar (int b, void *p, int *q)
{
  struct v *v;
  for (;;)
    {
      v = b?p:0;
      q [v->n ++] = 0;
    }
}


Compile at -O1 -funswitch-loops.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-19 19:07:45
               date|                            |
            Summary|ICE in execute_todo, at     |[4.1 Regression] ICE in
                   |passes.c:677                |execute_todo, at
                   |                            |passes.c:677
   Target Milestone|---                         |4.1.0


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

Reply via email to