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

            Bug ID: 82639
           Summary: Legal program rejected
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Created attachment 42421
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42421&action=edit
Compiler input triggering bug

We get the following nonsense error message with GNAT 7.2.0 on Debian Linux.

The program is attached, apply gnatchop to it.

$ gcc -c term.adb
system.ads:1:01: declaration must appear after completion of type
"Term_Literal_Value"

Reply via email to