public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/113972] New: ICE on container map for aggregate.
@ 2024-02-17 15:09 p.p11 at orange dot fr
  2024-02-19 12:11 ` [Bug ada/113972] " ebotcazou at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: p.p11 at orange dot fr @ 2024-02-17 15:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113972
           Summary: ICE on container map for aggregate.
           Product: gcc
           Version: 13.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: p.p11 at orange dot fr
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 57451
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57451&action=edit
Reproducer.

With the following map for aggregate code:
            M := [for Key1 of Keys => Integer'Image (Key1)];

It is ok when checking but issues a bug box when compiling:
$ gcc -c -gnat2022 test_20240217_map_for_agg.adb 
+===========================GNAT BUG DETECTED==============================+
| 13.2.0 (x86_64-apple-darwin21.6.0) Program_Error sem_type.adb:811 explicit
raise|
| Error detected at test_20240217_map_for_agg.adb:38:9                     |
| Compiling test_20240217_map_for_agg.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).

2024/test_20240217_map_for_agg.adb

compilation abandoned

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug ada/113972] ICE on container map for aggregate
  2024-02-17 15:09 [Bug ada/113972] New: ICE on container map for aggregate p.p11 at orange dot fr
@ 2024-02-19 12:11 ` ebotcazou at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2024-02-19 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE on container map for    |ICE on container map for
                   |aggregate.                  |aggregate
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-02-19
                 CC|                            |ebotcazou at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
There is an assertion failure on mainline:

+===========================GNAT BUG DETECTED==============================+
| 14.0.1 20240219 (experimental) [master r14-9059-ge42287eaed2]
(x86_64-suse-linux) |
| Assert_Failure failed precondition from einfo-entities.ads:218           |
| Error detected at test_20240217_mpa_for_agg.adb:38:9                     |
| Compiling test_20240217_mpa_for_agg.adb                                  |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-19 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 15:09 [Bug ada/113972] New: ICE on container map for aggregate p.p11 at orange dot fr
2024-02-19 12:11 ` [Bug ada/113972] " ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).