public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45178]  New: CDDCE doesn't eliminate conditional code in infinite loop
@ 2010-08-04  9:46 rguenth at gcc dot gnu dot org
  2010-08-04 13:05 ` [Bug tree-optimization/45178] " hubicka at ucw dot cz
  2010-08-04 13:21 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-04  9:46 UTC (permalink / raw)
  To: gcc-bugs

Reduced from gcc.dg/tree-ssa/ssa-dce-3.c:

int main(void)
{
  unsigned j = 0;
  while (1)
    {
      j += 500;
      if (j % 7)
        j++;
      else
        j--;
    }
  return 0;
}


-- 
           Summary: CDDCE doesn't eliminate conditional code in infinite
                    loop
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-17 11:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45178-4@http.gcc.gnu.org/bugzilla/>
2021-08-26 12:02 ` [Bug tree-optimization/45178] CDDCE doesn't eliminate conditional code in infinite loop rguenth at gcc dot gnu.org
2021-08-26 14:35 ` hubicka at ucw dot cz
2021-08-27  7:51 ` cvs-commit at gcc dot gnu.org
2021-08-27  7:52 ` rguenth at gcc dot gnu.org
2022-02-17 11:26 ` cvs-commit at gcc dot gnu.org
2010-08-04  9:46 [Bug tree-optimization/45178] New: " rguenth at gcc dot gnu dot org
2010-08-04 13:05 ` [Bug tree-optimization/45178] " hubicka at ucw dot cz
2010-08-04 13:21 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).