]> git.ipfire.org Git - thirdparty/gcc.git/commit
jit: fix -Werror=format-overflow= in testsuite [PR103199]
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 11 Nov 2021 23:32:21 +0000 (18:32 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 12 Nov 2021 13:20:45 +0000 (08:20 -0500)
commitaa1fd30df56d752e3d5a81af409875a1f1e3e327
tree97f42edbfd0a3032a336578d1de532615a78ebf4
parent1b62cddcf091fb8cadf575246a7d3ff778650a6b
jit: fix -Werror=format-overflow= in testsuite [PR103199]

gcc/jit/ChangeLog:
PR jit/103199
* docs/examples/tut04-toyvm/toyvm.c (toyvm_function_compile):
Increase size of buffer.
* docs/examples/tut04-toyvm/toyvm.cc
(compilation_state::create_function): Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/jit/docs/examples/tut04-toyvm/toyvm.c
gcc/jit/docs/examples/tut04-toyvm/toyvm.cc