diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2025-10-17 11:02:28 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-10-17 11:05:08 +0200 |
commit | cdb08b4bd24912f22c2f41798b3bd1b7395c87c6 (patch) | |
tree | 63f1a93724dcb0736cff2d6201c3aa79c8682e81 /gcc/testsuite/g++.dg/cpp1z | |
parent | c591c2aff5b84970833f84e2faf3f55f32a2c61f (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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.
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z')
0 files changed, 0 insertions, 0 deletions