This is the mail archive of the gcc-patches@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] |
I'm probably mistaken here, but I thought there was a difference between what F95 allowed as initialization expr. and what F2003 allows. For example, the way I read and understood both standards, the following code:
INTEGER, PARAMETER :: K(2)=1 SELECT CASE(I) CASE(MAXLOC(K,1)) END SELECT END
(from PR 25104) is invalid in F95 but valid according to F2003.
Am I right?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |