aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-eh.cc
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2023-06-02 09:28:32 -0700
committerDavid Faust <david.faust@oracle.com>2023-06-02 09:28:32 -0700
commit934da923a7295ae97e37425e269195c7d8770ef0 (patch)
treeb994eb630528394389e1c97e8553a1f14300505e /gcc/tree-eh.cc
parentf2e60a00c7c017bd87ba9afb189cbb77d8c92925 (diff)
downloadgcc-934da923a7295ae97e37425e269195c7d8770ef0.zip
gcc-934da923a7295ae97e37425e269195c7d8770ef0.tar.gz
gcc-934da923a7295ae97e37425e269195c7d8770ef0.tar.bz2
btf: fix bootstrap -Wformat errors [PR110073]
Commit 7aae58b04b9 "btf: improve -dA comments for testsuite" broke bootstrap on a number of architectures because it introduced some new -Wformat errors. Fix those errors by properly using PRIu64 and a small refactor to the offending code. Based on the suggested patch from Rainer Orth. PR debug/110073 gcc/ChangeLog: * btfout.cc (btf_absolute_func_id): New function. (btf_asm_func_type): Call it here. Change index parameter from size_t to ctf_id_t. Use PRIu64 formatter.
Diffstat (limited to 'gcc/tree-eh.cc')
0 files changed, 0 insertions, 0 deletions