This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/34353] New: Internal error in legal Ada 2005 program, anonymous access-to-subprogram type
- From: "ludovic at ludovic-brenta dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2007 23:13:12 -0000
- Subject: [Bug ada/34353] New: Internal error in legal Ada 2005 program, anonymous access-to-subprogram type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
procedure test1 is
type T1 is record
F : access function return T1;
end record;
begin
null;
end test1;
gnatmake -gnat05 test1
gcc-4.1 -c -gnat05 test1.adb
gcc-4.1: Internal error: Segmentation fault (program gnat1)
Same symptoms with 4.2.2.
--
Summary: Internal error in legal Ada 2005 program, anonymous
access-to-subprogram type
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ludovic at ludovic-brenta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34353