! Rejects valid. EQUIVALENCE of substrings; fails with 4.[1-3].x with: ! !EQUIVALENCE (A (2,1) (1:1), B (1) (2:3), C (3:5)) ! 1 !Error: Syntax error in EQUIVALENCE statement at (1) ! ! Found using the Fortran Company Fortran 90 Test Suite (Lite), ! Version 1.4 CHARACTER A(2,2)*2, B(2)*3, C*5 EQUIVALENCE (A (2,1) (1:1), B (1) (2:3), C (3:5)) end
-- Summary: Rejects valid: EQUIVALENCE of character substrings Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org OtherBugsDependingO 32834 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34557