This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 time/19466] time/tst-mktime2.c is compiled into an infinite loop with -Os


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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/pr19463 has been created
        at  d4eb5b88350fee578355a7df8abc834b5cf4bf51 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d4eb5b88350fee578355a7df8abc834b5cf4bf51

commit d4eb5b88350fee578355a7df8abc834b5cf4bf51
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 14 06:43:38 2016 -0800

    Add libc_feclearexcept_env

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f9747911b922dba84722f2e3b8632360b75086ab

commit f9747911b922dba84722f2e3b8632360b75086ab
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 14 04:15:03 2016 -0800

    Use TIME_T_MAX and TIME_T_MIN in tst-mktime2.c

    GCC 5.3 compiles

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

    into an infinite loop with -Os.  We can copy TIME_T_MAX and TIME_T_MIN
    from time/mktime.c.

        [BZ #19466]
        * time/tst-mktime2.c (TYPE_SIGNED): New.
        (TYPE_MINIMUM): Likewise.
        (TYPE_MAXIMUM): Likewise.
        (TIME_T_MIN): Likewise.
        (TIME_T_MAX): Likewise.
        (do_test): Initialize time_t_max and time_t_min with TIME_T_MAX
        and TIME_T_MIN.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6784479e158deee4bc864b8a73f865996c0a8d42

commit 6784479e158deee4bc864b8a73f865996c0a8d42
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 15:03:46 2016 -0800

    Avoid strdup/strndup/strsep

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=de7ee3df80eb523e14b71cde0264e345064ca5a2

commit de7ee3df80eb523e14b71cde0264e345064ca5a2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 14:10:34 2016 -0800

    Allow inline in sys/sysmacros.h when building glibc

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f8d8cc37b00f9a524578c2f1f053124d43646b7c

commit f8d8cc37b00f9a524578c2f1f053124d43646b7c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 13:31:34 2016 -0800

    Include <bits/stdio.h> when building glibc

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0640d42632457f5492dbd4609981196df5564f05

commit 0640d42632457f5492dbd4609981196df5564f05
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 17:26:00 2016 -0800

    Include <bits/string.h> for -Os build

-----------------------------------------------------------------------

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

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