[Bug tree-optimization/31037] [4.3 Regression] ICE: verify_ssa failed - definition in block 23 does not dominate use in block 32

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 8 22:10:00 GMT 2007



------- Comment #8 from reichelt at gcc dot gnu dot org  2007-04-08 23:09 -------
Here's a reduced version of comment #5 (crashes with -O):

======================================
struct A
{
  char *c;
  virtual ~A() { delete[] c; }
};

void foo();

void bar(bool* p, bool b)
{
  if (b && p[0] && p[1])
    ;
  else if (b)
    {
    L:
      foo();
      if (b)
        foo();
      foo();
    }
  else
    {
      A a;
      goto L;
    }
}
======================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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



More information about the Gcc-bugs mailing list