This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GNAT BUG DETECTED: new task
- From: Laurent GUERBY <laurent at guerby dot net>
- To: groupebluesnake at free dot fr
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Sep 2008 14:12:11 +0200
- Subject: Re: GNAT BUG DETECTED: new task
- References: <1221306611.48cba8f326b1f@imp.free.fr>
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;
>
>