public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/112979] New: [13/14 regression] Gnat Bug Detected with Invalid Prefix
@ 2023-12-12  8:52 suratiamol at gmail dot com
  2023-12-13  9:26 ` [Bug ada/112979] internal error on invalid prefix with assertions enabled ebotcazou at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: suratiamol at gmail dot com @ 2023-12-12  8:52 UTC (permalink / raw)
  To: gcc-bugs

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.

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

* [Bug ada/112979] internal error on invalid prefix with assertions enabled
  2023-12-12  8:52 [Bug ada/112979] New: [13/14 regression] Gnat Bug Detected with Invalid Prefix suratiamol at gmail dot com
@ 2023-12-13  9:26 ` ebotcazou at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2023-12-13  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-12-13
            Summary|[13/14 regression] Gnat Bug |internal error on invalid
                   |Detected with Invalid       |prefix with assertions
                   |Prefix                      |enabled

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
That's because the trunk is built with assertions, in other words the GCC 14
compiler will behave as GCC 13 when it is released.

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

end of thread, other threads:[~2023-12-13  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12  8:52 [Bug ada/112979] New: [13/14 regression] Gnat Bug Detected with Invalid Prefix suratiamol at gmail dot com
2023-12-13  9:26 ` [Bug ada/112979] internal error on invalid prefix with assertions enabled 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).