Bug 15594 - Bug box at exp_ch9.adb:7477 on illegal code
Summary: Bug box at exp_ch9.adb:7477 on illegal code
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2004-05-22 18:50 UTC by Ludovic Brenta
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i486-pc-linux-gnu
Target: i486-pc-linux-gnu
Build: i486-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludovic Brenta 2004-05-22 18:50:20 UTC
procedure P is
   task T is
     entry E;
   end T;

   task body T is
   begin
      select
	 E;
      or
	 delay until 1.0;       -- ERROR: 1.0 not value of calendar.time
      end select;
   end T;

begin
   null;
end P;

gnatmake p
gcc -c p.adb
+===========================GNAT BUG DETECTED==============================+
| 3.4.0 (Debian) (i486-pc-linux-gnu) Assert_Failure exp_ch9.adb:7477       |
| Error detected at test_243812.adb:8:7                                    |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc-3.4 or gnatmake command that you entered.          |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+
Comment 1 Arnaud Charlet 2004-06-22 12:53:43 UTC
Already fixed on HEAD some time ago.

Arno