https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63879

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Reduced:

trippels@gcc2-power8 ~ % cat namei.i
struct
{
  int inode;
} * a;
int b, c;
void
fn1 ()
{
  int d = 0;
  while (b)
    {
      if (a->inode)
        d++;
      a = 0;
    }
  c = d - 1;
  for (; c >= 0; c--)
    ;
}

trippels@gcc2-power8 ~ % gcc -O2 -fsanitize=undefined namei.i
gcc: internal compiler error: Segmentation fault (program cc1)

gdb backtrace looks identical to that from the testcase of PR63520 comment 11.

Reply via email to