This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 gcov-profile/61790] [5 Regression] gcov-tool.c uses atoll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]