#143 Ada compiler crash on controlled type

closed
Danny Smith
gcc (462)
2002-08-05
2002-05-27
Jerry van Dijk
No

The Ada compiler (gnat1.exe) crashes when a
controlled type is followed by a non-primitive
subprogram:

$ ls -l
total 1
-rwxrwxrwa 1 0 0 187 May 27 04:00
oops.ads
$ cat oops.ads
with Ada.Finalization;

package Oops is

type A_Type is new Ada.Finalization.Controlled with
record
null;
end record;

procedure A_Proc;

end Oops;
$ gcc -c oops.ads
No code generated for file oops.ads (package spec)
gcc: Internal error: Aborted (program gnat1)
Please submit a full bug report.
See
<URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.
$

Discussion

  • Earnie Boyd
    Earnie Boyd
    2002-08-05

    Logged In: YES
    user_id=15438

    Danny, any update on this?

     
  • Earnie Boyd
    Earnie Boyd
    2002-08-05

    • status: open --> closed