[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#339356: gnat: Assert_Failure atree.adb:678 on invalid code (mixture of protected object and accept of entry family)



I have reproduced the GNAT bug box with GNAT 4.1.2 20061115:

% gnatmake -gnat05 -gnatE -gnato -gnatv -gnati1 -gnatf -fstack-check -m gnat_bug.adb
gcc-4.1 -c -gnat05 -gnatE -gnato -gnatv -gnati1 -gnatf -fstack-check gnat_bug.adb

GNAT 4.1.2 20061115 (prerelease) (Debian 4.1.1-22)
Copyright 1992-2005 Free Software Foundation, Inc.

Compiling: gnat_bug.adb (source file time stamp: 2008-04-24 07:15:01)
+===========================GNAT BUG DETECTED==============================+
| 4.1.2 20061115 (prerelease) (Debian 4.1.1-22) (i486-pc-linux-gnu)        |
| Assert_Failure atree.adb:812                                             |
| Error detected at gnat_bug.adb:13:10                                     |
| 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-4.1 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.

gnat_bug.adb

 19 lines: No errors
compilation abandoned
gnatmake: "gnat_bug.adb" compilation error
%

Greetings,

Jacob
--
"Sleep is just a cheap substitute for coffee"



Reply to: