[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 2 22:40:00 GMT 2016


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

--- Comment #9 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Fri Dec  2 22:39:43 2016
New Revision: 243207

URL: https://gcc.gnu.org/viewcvs?rev=243207&root=gcc&view=rev
Log:
selftest.c: remove calls to strndup (PR bootstrap/78616)

gcc/ChangeLog:
        PR bootstrap/78616
        * selftest.c (selftest::assert_strndup_eq): Rename to...
        (selftest::assert_xstrndup_eq): ...this, and remove call to
        strndup.
        (selftest::test_strndup): Rename to...
        (selftest::test_xstrndup): ...this, updating for above renaming.
        (selftest::test_libiberty): Update for renaming.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/selftest.c


More information about the Gcc-bugs mailing list