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

            Bug ID: 112979
           Summary: [13/14 regression] Gnat Bug Detected with Invalid
                    Prefix
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: suratiamol at gmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

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

On running the code at [1], the gnat 13.2 compiler raises an error
about invalid prefix, which looks okay.

But the gnat trunk compiler causes a "Gnat Bug Detected", as seen
at [2].

Part of the message:

   14.0.0 20231212 (experimental) (x86_64-linux-gnu) \
   Assert_Failure failed precondition from einfo-entities.ads:2256|

A search on bugzilla for 'einfo-entities.ads' turned up empty.

The sources are also attached as a single .ada file. 

[1] https://godbolt.org/z/4ojeq1xx8
[2] https://godbolt.org/z/naWsq7GsG

Thank you.
  • [Bug ada/112979] New: [13/14 reg... suratiamol at gmail dot com via Gcc-bugs

Reply via email to