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

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

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

commit r16-4467-gcdb08b4bd24912f22c2f41798b3bd1b7395c87c6
Author: Eric Botcazou <[email protected]>
Date:   Fri Oct 17 11:02:28 2025 +0200

    Fix missing style violation report for package instantiation

    Unlike for subprogram instantiation, -gnatyr does not report style
violation
    for package instantiation, more precisely for the generic package's name.

    Fixing it uncovered style violations in the sources of the compiler itself!

    gcc/ada/
            PR ada/122295
            * sem_ch12.adb (Analyze_Package_Instantiation): Force Style_Check
            to False only after possibly installing the parent.
            * aspects.adb (UAD_Pragma_Map): Fix style violation.
            * inline.adb (To_Pending_Instantiations): Likewise.
            * lib.ads (Unit_Names): Likewise.
            * repinfo.adb (Relevant_Entities): Likewise.
            * sem_ch7.adb (Subprogram_Table): Likewise.
            (Traversed_Table): Likewise.
            * sem_util.adb (Interval_Sorting): Likewise.

    gcc/testsuite/
            * gnat.dg/specs/style1.ads: New test.

Reply via email to