comp.lang.ada
 help / color / mirror / Atom feed
From: mcsun!ub4b!cfmu!news@uunet.uu.net  (Stef Van Vlierberghe)
Subject: Re: Please Help: Sun Ada Bug
Date: 16 Sep 93 16:59:49 GMT	[thread overview]
Message-ID: <1993Sep16.165949.2503@cfmu.eurocontrol.be> (raw)

In article <37106@hacgate.SCG.HAC.COM> bdarr@atr-16 (Byron Darrah) writes:
>     I am getting an internal error from a Sun Ada 1.0
>compiler that reads:
>
>     internal: assertion error at file lreg.c line xxx
>cg_ret: 1

I once had something similar with Verdix on HP700, and it had an
easy workaround :

internal: assertion error at file il_load.c, line 246

If you compile :

package Operator is
   type T is private;
   Name_Max_Length : constant := 12;
   type Name_T is private;
   function NONE return NAME_T;
private
   type T is record
      Name : Name_T := NONE;
   end record;

   type Name_T is new String ( 1 .. Name_max_length );
end Operator;

Putting the complete declaration of Name_t before the complete declaration of
T (a better place for it anyway), solves the problem.

Perhaps you problem is similar ?
-- 
Stef VAN VLIERBERGHE            Eurocontrol - Central Flow Management Unit
stef@cfmu.eurocontrol.be        Avenue des Arts 19H
Tel: +32 2 729 33 42            B-1040 BRUSSELS
Fax: +32 2 729 32 16            Belgium

             reply	other threads:[~1993-09-16 16:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-09-16 16:59 Stef Van Vlierberghe [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-09-20 18:26 Please Help: Sun Ada Bug Byron Darrah
1993-09-17 14:24 Wes Groleau x1240 C73-8
1993-09-16 14:44 Esther Lumsdon
1993-09-15 21:34 Dan Rittersdorf
1993-09-15 19:44 B uffy Hyler
1993-09-15 17:11 Terry J. Westley
1993-09-14  1:10 Byron Darrah
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox