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/44835] New: Ada Assert Failure with Bug Box, einfo.adb:1687


I was trying to learn OOP in Ada and ran into this Assert Box:

$ gcc -c small.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.4 20100503 (Red Hat 4.4.4-2) (x86_64-redhat-linux-gnu) Assert_Failure
einfo.adb:1687|
| Error detected at small.adb:33:7                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.

small.adb
list may be incomplete
compilation abandoned

My system:

$ uname -a
Linux localhost.localdomain 2.6.33.5-124.fc13.x86_64 #1 SMP Fri Jun 11 09:38:12
UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/redhat-release
Fedora release 13 (Goddard)

$ rpm -qa | grep gnat
gcc-gnat-4.4.4-2.fc13.x86_64
libgnat-4.4.4-2.fc13.x86_64
libgnat-devel-4.4.4-2.fc13.x86_64

$ gcc --version
gcc (GCC) 4.4.4 20100503 (Red Hat 4.4.4-2)


I also tested on gcc 4.3.2 with the same result:

+===========================GNAT BUG DETECTED==============================+
| 4.3.2 20081105 (Red Hat 4.3.2-7) (i386-redhat-linux-gnu) Assert_Failure
einfo.adb:1698|
| Error detected at small.adb:33:7                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

(Will upload small.adb when I find the upload button).


-- 
           Summary: Ada Assert Failure with Bug Box, einfo.adb:1687
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bileam at gmail dot com
  GCC host triplet: x86_64-redhat-linux-gnu
GCC target triplet: x86_64-redhat-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44835


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