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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ygribov at gcc dot gnu.org

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
It looks like libiberty.h is included but the generated libiberty/config.h
seems incorrect:

/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
   don't. */
/* #undef HAVE_DECL_STRTOULL */

/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
   don't. */
#define HAVE_DECL_STRVERSCMP 0

It seems like we should have

#define HAVE_DECL_STRTOULL 0

2014-10-28  Yury Gribov  <y.gri...@samsung.com>

        * strtoll.c: New file.
        * strtoull.c: New file.
        * configure.ac: Add long long checks.  Add harness for strtoll and
        strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
        * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
        * config.in: Regenerate.
        * configure: Regenerate.
        * functions.texi: Regenerate.
        * testsuite/Makefile.in (check-strtol): New rule.
        (test-strtol): Likewise.
        (mostlyclean): Clean up strtol test.
        * testsuite/test-strtol.c: New test.

Reply via email to