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

            Bug ID: 120854
           Summary: gnat never exits
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: commaperiodsemicolon at gmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

This code should generate an error, but instead the compiler never exits:

===[test.adb]=============================
with Ada.Text_IO; use Ada.Text_IO;

procedure Test is
   XXX : constant character := 16#00#;
begin
   Put ("Test " & XXX);
end Test;
==========================================

This bug is present in at least:

gnat_native_15.1.2_f0e902c0
gnat 13.3.0

Reply via email to