This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/67816] [6 Regression] ICE in duplicate_thread_path, 186.crafty fails to build


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-10-05
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
A bit further reduced:

int a, c, d, e;
int b[10];
void fn1() {
  int i, f = 0;
  for (;;) {
    i = 0;
    for (; i < a; i++)
      if (c) {
        if (b[i])
          f = 1;
      } else if (b[i])
        f = 0;
    if (f)
      d++;
    while (e)
      ;
  }
}

Confirmed on ppc64le. Only happens with checking=release.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]