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

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:f5e488c0ee663c2355e6d712ffc15da215d9cd96

commit r15-6758-gf5e488c0ee663c2355e6d712ffc15da215d9cd96
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Jan 10 10:28:18 2025 +0100

    fortran: use_iso_fortran_env_module tweaks [PR118337]

    This patch adds a comment to explain why we initialize the non-constant
    elts of symbol array separately and checking assert to verify that separate
    initialization bumps the iterator for each macro.

    2025-01-10  Jakub Jelinek  <ja...@redhat.com>

            PR fortran/118337
            * module.cc (use_iso_fortran_env_module): Add a comment explaining
            the optimization performed.  Add gcc_checking_assert that i was
            incremented for all the elements.  Formatting fix.

Reply via email to