From maine@altair.dfrc.nasa.gov  Mon Dec 22 19:48:12 1997
Received: from altair.dfrc.nasa.gov ([130.134.65.117]) by dkuug.dk (8.6.12/8.6.12) with ESMTP id TAA15170 for <sc22wg5@dkuug.dk>; Mon, 22 Dec 1997 19:48:10 +0100
Received: (from maine@localhost)
	by altair.dfrc.nasa.gov (8.8.6/8.8.6) id KAA07510;
	Mon, 22 Dec 1997 10:48:05 -0800 (PST)
Date: Mon, 22 Dec 1997 10:48:05 -0800 (PST)
Message-Id: <199712221848.KAA07510@altair.dfrc.nasa.gov>
From: Richard Maine <maine@altair.dfrc.nasa.gov>
To: sc22wg5@dkuug.dk
Subject: Edit missing from N1282 (allocatable TR)


For the next f2k draft (J3/98-007), I'm working right now on putting
in the edits from the "allocatable TR" (well, that's what I call it in
my notes to myself, as I find "Enhanced Data Type Facilities" to be a
bit too broad to remind me exactly what its about).

I noticed one clear omission from the edits.  I'm not entirely sure
how much difference this makes for a TR.  I've put the obviously
needed edit into the f2k draft.  It seems a bit much overhead to
consider issuing a corrigendum for a TR.  My inclination, if its too
late to get the fix into the TR itself, would be to just let the
correction go into f2k.  On the other hand, if the TR can still be
fixed, we might want to do that.  Its an easy fix, and so obvious as
to (I'd hope) be non-controversial.  I'll leave such decisions to WG5
and the editor of the TR (Malcolm).

The edit itself:  After spending a lot of time discussing allocatable
dummy arguments and function results, the TR failed to delete a
constraint that specifically prohibitted such.

In X3J3/96-007r1 [48:1-2], third constraint after R506:

  Constraint: The ALLOCATABLE attribute may be used only when
              declaring an array that is not a dummy argument or
              a function result.

My first inclination was to delete this constraint entirely, but I
didn't off-hand spot any other constraint that otherwise disallowed
allocatable scalars.  (There is probably text that implies such a
restriction, but it should be a constraint).  So I left the array
part, resulting in

  Constraint: The ALLOCATABLE attribute may be used only when
              declaring an array.

-- 
Richard Maine
maine@altair.dfrc.nasa.gov

