[Bug bootstrap/93962] bootstrap fails with gcc/value-prof.c:268:28 : error: format '%lld' expects argument of type 'long long int', but argument 3 hastype 'int'
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 10 14:35:20 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93962
--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
> So I think we instead should use abs_hwi (or absu_hwi, depending on if the
> most negative value can appear or not) instead of std::abs or abs in
> value-prof.c.
No, the counter can never be INT64_MIN.
More information about the Gcc-bugs
mailing list