------- Comment #3 from domob at gcc dot gnu dot org  2008-07-31 11:54 -------
Thanks for the quick reply, Tobias.  I'll try to get the "used but not yet
typed" part implemented to emit errors for -std != gnu.

To fix the problem in this PR, I see those possible solutions:

a) Disallow not-yet-typed variables completely inside SIZE/LDBOUND/UBOUND/LEN
(and possibly other use-cases).

b) Expressively *allow* those with -std=gnu only in a specified set of
use-cases, like DATA or as dimension/bound.

I think I'd go for b) but I'm not sure to what extend there's code around we
want to support with -std=gnu.  Any other use-cases we want not-yet-typed
variables to be  allowed in this case?


-- 

domob at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |domob at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-06-13 20:54:10         |2008-07-31 11:54:03
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32095

Reply via email to