[Bug ada/126928] Assert_Failure or Storage_Error from using far too many layers of generics

liam at liampwll dot com via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126928

--- Comment #1 from Liam Powell <liam at liampwll dot com> ---
I forgot the bug boxes, although it should reproduce easily:

+===========================GNAT BUG DETECTED==============================+
| 16.2.0 (x86_64-suse-linux) Storage_Error stack overflow or erroneous memory
access|
| Error detected at a-ciorma.adb:110:4 [reproducer.adb:16:10
[reproducer.adb:22:10 [reproducer.adb:44:42]]]|
| Compiling reproducer.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.                                       |
+==========================================================================+


+===========================GNAT BUG DETECTED==============================+
| 17.0.0 20260818 (experimental) (x86_64-linux-gnu) Assert_Failure
nlists.adb:631|
| Error detected at a-ciorma.adb:110:4 [example.adb:16:10 [example.adb:22:10
[example.adb:44:42]]]|
| Compiling <source>                                               |
| 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.                                       |
+==========================================================================+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.