This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/82639] New: Legal program rejected


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"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]