https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63694
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to John David Anglin from comment #1) > 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 That's equivalent unless somebody else defines HAVE_DECL_STRTOULL to 1. -E -dD output of asan.c? > 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.