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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <[email protected]>:

https://gcc.gnu.org/g:9e9e22587f7954e079ac68e0e878f1feec7977f8

commit r17-2414-g9e9e22587f7954e079ac68e0e878f1feec7977f8
Author: Tobias Burnus <[email protected]>
Date:   Wed Jul 15 13:45:49 2026 +0200

    OpenMP: libgomp.texi + allocate/uses_allocators janitorial updates
[PR122748]

    * C only: Fix an ICE on invalid for the allocator clause (undeclared
      identifier); this is PR122748.

    * C/C++: Mark trait variables read to avoid bogus 'unused but set'
      warning with uses_allocators.

    * libgomp.texi:
      - Update implementation status for uses_allocators,
         claim that C23 is supported (minus bugs), and remove comment
         regarding a not-printed deprecation warning given that there
         is now one.
      - Memory Management Routines: Move 'omp_free' after the allocation
        routines for internal consistency and in line with the spec.
        Add '@c * omp_get_dyn_gprivate_...:: <fixme>/TR15' items to
        '@menu' for the new TR15 routines (actually TR14 but renamed).
        Hence, "grep '@c \*'" should yield all unimplemented or
        undocumented 'omp_' functions as of TR15.
      - nvptx: Fix an URL that was broken by Nvidia but the new one of
        commit r17-1942-g0e2c5d4b2c16c4 wasn't helpful.

            PR c/122748

    gcc/c/ChangeLog:

            * c-parser.cc (c_parser_omp_clause_allocate): Avoid ICE
            when allocator is an error_mark_node.
            (c_parser_omp_clause_uses_allocators): Mark trait var
            as read to avoid 'unused but set' warning.

    gcc/cp/ChangeLog:

            * parser.cc (cp_parser_omp_clause_uses_allocators): Mark
            trait var as read to avoid 'unused but set' warning.

    libgomp/ChangeLog:

            * libgomp.texi (Implementation status): Mark two
            uses_allocators items and C23 support as 'Y';
            remove outdated remark regarding a deprecation warning.
            (Memory Management Routines): Move omp_free after
            omp_realloc; add commented @menu entries for new
            TR15 routines.
            (nvptx): Update @uref to point to a better webpage.

    gcc/testsuite/ChangeLog:

            * c-c++-common/gomp/uses_allocators-1.c: New test.
            * c-c++-common/gomp/uses_allocators-2.c: New test.

Reply via email to