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 #3 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  e75a6c3f76efdaebec386620952eafbb3372cdc4 (commit)

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

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

    Don't use staled exception masks

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

commit 8dae8b1142b37b79a24b4ebd2129ef1219e2f987
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=5728e0c913fcd9623df94561acc7f0ee5ca1fef5

commit 5728e0c913fcd9623df94561acc7f0ee5ca1fef5
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=76d3f84807a890aee1d600c0074d4eb99400c7b1

commit 76d3f84807a890aee1d600c0074d4eb99400c7b1
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=63f5376c8e66c4c5b68897a7f1cfad6c42837aa9

commit 63f5376c8e66c4c5b68897a7f1cfad6c42837aa9
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=fbb2dd3c93c6f7d51760b1e51fd36745d3f241ed

commit fbb2dd3c93c6f7d51760b1e51fd36745d3f241ed
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]