[Bug time/19466] New: time/tst-mktime2.c is compiled into an infinite loop with -Os

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Thu Jan 14 03:59:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19466

            Bug ID: 19466
           Summary: time/tst-mktime2.c is compiled into an infinite loop
                    with -Os
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

GCC 5.3 compiles

  for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
    continue;

into an infinite loop with -Os.  How portable is this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list