Implied shape support?

Implied shape support?

Hello,

are there plans to support F2008 Implied shape parameters?

  integer, parameter :: a(*) = [ 1, 2 ]
end

produces:

% ifort -V ifort-implied-shape.f90 -stand f08
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 14.0.1.106 Build 20131008
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY

 Intel(R) Fortran 14.0-1599
ifort-implied-shape.f90(1): error #6364: The upper bound shall not be omitted in the last dimension of a reference to an assumed size array.   [A]
  integer, parameter :: a(*) = [ 1, 2 ]
------------------------^
compilation aborted for ifort-implied-shape.f90 (code 1)

Thanks,

Harald

 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

It's on our list. My guess is that this would get done after we complete F2003 support.

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today