This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45757] Accepts invalid: SHAPE with scalar



------- Comment #1 from mikael at gcc dot gnu dot org  2010-09-23 10:34 -------
Arguments.
SOURCE     shall be a scalar or array of any type

Examples. The value of SHAPE (A (2:5, â??1:1) ) is [4, 3]. The value of SHAPE
(3) is the rank-one array of size zero.


It seems the current behaviour is fine.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]