This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/82639] New: Legal program rejected
- From: "porton at narod dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Oct 2017 17:47:28 +0000
- Subject: [Bug ada/82639] New: Legal program rejected
- Auto-submitted: auto-generated
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"