This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/49989] New: Assert_Failure sinfo.adb:638 on simple testcase
- From: "baldrick at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 16:43:24 +0000
- Subject: [Bug ada/49989] New: Assert_Failure sinfo.adb:638 on simple testcase
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49989
Summary: Assert_Failure sinfo.adb:638 on simple testcase
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: baldrick@gcc.gnu.org
$ gcc-4.7 -c p.adb
+===========================GNAT BUG DETECTED==============================+
| 4.7.0 20110805 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure
sinfo.adb:638|
| Error detected at p.adb:7:9 |
| 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.
Consider also -gnatd.n switch (see debug.adb).
p.adb
p.ads
compilation abandoned
-- Chop here --
-- p.ads
procedure P;
-- p.adb
procedure P is
type R is record
I : Integer := 0;
end record;
X : access R;
begin
X := new R;
end;