GNAT BUG DETECTED: new task
Laurent GUERBY
laurent@guerby.net
Sat Sep 13 12:13:00 GMT 2008
FYI this works fine in GCC 4.3.x
Laurent
On Sat, 2008-09-13 at 13:50 +0200, groupebluesnake@free.fr wrote:
> gnatmake -P/home/jlv/Documents/ADA/test_tache.gpr -d
> gcc-4.2 -c -I- -gnatA /home/jlv/Documents/ADA/test_tache.adb
> +===========================GNAT BUG DETECTED==============================+
> | 4.2.3 (Ubuntu 4.2.3-2ubuntu2) (i486-pc-linux-gnu) Assert_Failure
> sinfo.adb:649|
> | Error detected at test_tache.adb:11:15 |
> | 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.2 or gnatmake command that you entered. |
> | Also include sources listed below in gnatchop format |
> | (concatenated together with no headers between files). |
> +==========================================================================+
>
> ....
>
> /home/jlv/Documents/ADA/test_tache.adb
> list may be incomplete
> compilation abandoned
> gnatmake: "/home/jlv/Documents/ADA/test_tache.adb" compilation error
>
> [2008-09-13 13:46:06] process exited with status4 (elapsed time: 00.10s)
>
> ------------------------------------------------------------
>
> procedure test_tache is
> task type t_tache;
> task body t_tache is
> begin
> null;
> end;
>
> -----------------------------
> tache_1 : access t_tache;
> begin
> tache_1 := new t_tache;
> end;
>
>
More information about the Gcc-bugs
mailing list