public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/40936] New: Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family)
@ 2009-08-01 22:47 ludovic at ludovic-brenta dot org
2009-08-01 22:49 ` [Bug ada/40936] " ludovic at ludovic-brenta dot org
2009-10-03 11:27 ` sam at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-01 22:47 UTC (permalink / raw)
To: gcc-bugs
(Debian bug #339356, which I realize was never forwarded upstream until now)
procedure gnat_bug is
type voie is range 1..10;
protected carrefour is
entry entree_carrefour (voie);
end carrefour;
protected body carrefour is
entry entree_carrefour (for v in voie)
when true is
begin
accept entree_carrefour(v); -- remove this and you have a valid
program
end entree_carrefour;
end carrefour;
begin
null;
end gnat_bug;
$ gnatmake gnat_bug.adb
gnatgcc -c gnat_bug.adb
+===========================GNAT BUG DETECTED==============================+
| 3.15p (Debian 3.15p-16) (i486-pc-linux-gnu) Assert_Failure atree.adb:678 |
| Error detected at gnat_bug.adb:13:10 |
+===========================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 |
gcc-4.3 -c gnat_bug.adb
+===========================GNAT BUG DETECTED==============================+
| 4.3.2 (i486-pc-linux-gnu) Assert_Failure atree.adb:886 |
| Error detected at gnat_bug.adb:13:10 |
gcc-4.4 -c gnat_bug.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.1 (i486-pc-linux-gnu) Assert_Failure atree.adb:884 |
| Error detected at gnat_bug.adb:13:10 |
--
Summary: Assert_Failure atree.adb:884 on illegal code (mixture of
protected object and accept of entry family)
Product: gcc
Version: 3.1
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=40936
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/40936] Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family)
2009-08-01 22:47 [Bug ada/40936] New: Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family) ludovic at ludovic-brenta dot org
@ 2009-08-01 22:49 ` ludovic at ludovic-brenta dot org
2009-10-03 11:27 ` sam at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-01 22:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ludovic at ludovic-brenta dot org 2009-08-01 22:49 -------
GNAT 3.15p used GCC 2.8.1 as its backend; the bug is that old :)
--
ludovic at ludovic-brenta dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.2 4.3.3 4.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40936
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/40936] Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family)
2009-08-01 22:47 [Bug ada/40936] New: Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family) ludovic at ludovic-brenta dot org
2009-08-01 22:49 ` [Bug ada/40936] " ludovic at ludovic-brenta dot org
@ 2009-10-03 11:27 ` sam at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2009-10-03 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sam at gcc dot gnu dot org 2009-10-03 11:27 -------
Confirmed on SVN trunk.
+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20091003 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure
atree.adb:765|
| Error detected at gnat_bug.adb:13:10 |
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-03 11:27:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40936
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-03 11:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-01 22:47 [Bug ada/40936] New: Assert_Failure atree.adb:884 on illegal code (mixture of protected object and accept of entry family) ludovic at ludovic-brenta dot org
2009-08-01 22:49 ` [Bug ada/40936] " ludovic at ludovic-brenta dot org
2009-10-03 11:27 ` sam at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).