https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125806
Bug ID: 125806
Summary: Ada Mistake --> Bug Report
Product: gcc
Version: 16.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: efmavourneen at axioaction dot org
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Created attachment 64746
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64746&action=edit
procedure Main
Accidental error caused bug report. See attachment.
---------
gprbuild -ws -c -f -u -gnat2022
-PD:\Users\DEVELOPMENT\Software_Development\Sandbox\Ada_Mistake_Causes_Bug_Report\sandbox.gpr
main.adb
Compile
[Ada] main.adb
+===========================GNAT BUG DETECTED==============================+
| 16.1.0 (x86_64-w64-mingw32) GCC error: |
| in gnat_to_gnu_entity, at ada/gcc-interface/decl.cc:454 |
| Error detected at main.adb:7:8 |
| Compiling
D:\Users\DEVELOPMENT\Software_Development\Sandbox\Ada_Mistake_Causes_Bug_Report\main.adb|
| Please submit a bug report; see https://gcc.gnu.org/bugs/ . |
| Use a subject line meaningful to you and us to track the bug. |
| Include the entire contents of this bug box in the report. |
| Include the exact command that you entered. |
| Also include sources listed below. |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).
D:\Users\DEVELOPMENT\Software_Development\Sandbox\Ada_Mistake_Causes_Bug_Report\main.adb
compilation abandoned
compilation of main.adb failed
gprbuild: *** compilation phase failed
[2026-06-15 09:24:41] process exited with status 4, elapsed time: 07.18s