[net.lang.ada] Problems with DEC Ada

JMUNGLE@USC-ISIF.ARPA (Jerry Mungle) (01/18/86)

  I've recently begun to suse the DEC Ada compiler, and I've had a problem
with the access types.  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  dag is 
	subtype br is integer range 0..6;
	package I love__love_y 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 , 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!
-------