comp.lang.ada
 help / color / mirror / Atom feed
From: JMUNGLE@USC-ISIF.ARPA (Jerry Mungle)
Subject: Problems with DEC Ada
Date: Fri, 17-Jan-86 16:05:27 EST	[thread overview]
Date: Fri Jan 17 16:05:27 1986
Message-ID: <8601172138.AA20409@ucbvax.berkeley.edu> (raw)


  I've recently begun to s\buse the DEC Ada compiler, and I've had a problem
with the access types\b.  Consider the following program:

  generic
	type bucket_range is range <>;
  package x is
	type mrec is array(bucket_range) of integer;
	type map  is access mrec;
  end x;

  with x;
  packagedag \b\b\b\b dag is 
	subtype br is integer range 0..6;
	package I love_\b\b\b\b\b\b_love_\b\b\b\b\b\b\by is new x(br);
	type dag_info is record
	    id : y.map;	-- this is the problem line
	end record;
  end dag;

  If you compile this program, you get the following error from the DEC
Ada compiler:

%ADAC-F-BUGCHECK, Internal Ada compiler error(bugcheck) -- please submit
	a Software Performance Report (SPR)

  Anyone run across this one \b, and any workarounds??  The declaration of 
the offending access type MUST be inside the record.  Oh yes, we are
running version 1.1 of the compiler, and I compiled the generic as a
separate file in the above example.  This problem prevents the compilation
of several tools in the SIMTEL20 Ada repository.

  Thanks in advance!
-------

                 reply	other threads:[~1986-01-17 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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