[Bug gcov-profile/61790] [5 Regression] gcov-tool.c uses atoll
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 9 00:51:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61790
--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Fri Jan 9 00:50:49 2015
New Revision: 219372
URL: https://gcc.gnu.org/viewcvs?rev=219372&root=gcc&view=rev
Log:
PR gcov-profile/61790
* gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
long long. Fallback to int64_t if host doesn't have long long and
use strtol if int64_t is long. Otherwise, use sscanf for conversion.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcov-tool.c
More information about the Gcc-bugs
mailing list