diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-08-02 09:14:14 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-08-02 09:14:14 +0200 |
commit | efc4c77282ece710872cc6521468f17b5a96fc45 (patch) | |
tree | be0794d0c700cf86ae9d86f6c1e4880b3fd457ee /libgo/go/unicode/utf16/utf16_test.go | |
parent | 09a3da82125e07da504136841d577f103aa4ea13 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
On Thu, Jul 31, 2025 at 11:33:07PM +0200, Jakub Jelinek via Gcc wrote:
> > this was all described in excruciating detail in the patch submission
> >
> > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687385.html
> >
> > and the commit message.
>
> Looking at that patch, the dbgmsg change looks correct (dbgmsg is
> ATTRIBUTE_PRINTF_1), while the last 3 hunks are suboptimal, they should
> really use %td and keep the ptrdiff_t arguments without casts.
Here it is in patch form.
I couldn't find other similar casts in calls to ATTRIBUTE_GCOBOL_DIAG
functions.
2025-08-02 Jakub Jelinek <jakub@redhat.com>
* parse.y (intrinsic): Use %td format specifier with no cast on
argument instead of %ld with cast to long.
* scan_ante.h (numstr_of): Likewise.
* util.cc (cbl_field_t::report_invalid_initial_value): Likewise.
Diffstat (limited to 'libgo/go/unicode/utf16/utf16_test.go')
0 files changed, 0 insertions, 0 deletions