------- Comment #3 from burnus at gcc dot gnu dot org 2008-01-31 22:25 -------
Answer (see link): All these are wrong per answer to an interpretation request:
6. INTEGER :: B = BIT_SIZE(B)
7. INTEGER :: B(BIT_SIZE(B))
8. INTEGER :: D = DIGITS(D)
9. INTEGER :: D(DIGITS(D))
10. REAL :: X = EPSILON(X)
2. INTEGER(selected_int_kind(4)) :: A(KIND(A)) 3. INTEGER ::
A(2,2*SIZE(A,1)+1) 4. CHARACTER :: C(10)*(SIZE(C,1)) 5. INTEGER ::
P(10) = LBOUND(P,1)
1. INTEGER :: P(complicated_expression_for_lower_bound_1: &
& complicated_expression_for_upper_bound_1, &
& complicated_expression_for_lower_bound_2: &
& complicated_expression_for_upper_bound_2) = &
& RESHAPE( (/ 11, 21, 12, 22 /), SHAPE(P) )
And I also believe all our examples in this PR are wrong. While we really have
to reject
REAL(8), PARAMETER :: xyz(size(xyz)) = 1
we could allow the others as extension (i.e. only reject using -std=f*) - or we
reject them all.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-01-31 22:25:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35040