https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Robert Dubner
<rdub...@gcc.gnu.org>:

https://gcc.gnu.org/g:9717324b7e867460f0e4023b12ad4a9d3633d889

commit r15-10140-g9717324b7e867460f0e4023b12ad4a9d3633d889
Author: James K. Lowden <jklow...@cobolworx.com>
Date:   Fri Jun 20 12:43:51 2025 -0400

    cobol: Correct diagnostic strings for 32-bit builds.

    Avoid %z for printf-family.  Cast pid_t to long.  Avoid use of YYUNDEF
    for old Bison versions.

            PR cobol/120621

    gcc/cobol/ChangeLog:

            * genapi.cc (parser_compile_ecs): Cast argument to unsigned long.
            (parser_compile_dcls): Same.
            (parser_division): RAII.
            (inspect_tally): Cast argument to unsigned long.
            * lexio.cc (cdftext::lex_open): Cast pid_t to long.
            * parse.y: hard-code values for old versions of Bison, and message
format.
            * scan_ante.h (wait_for_the_child): Cast pid_t to long.

    (cherry picked from commit 007392c0f93cf46b9e87aebdd04e123e3381fc07)

Reply via email to