This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34557] [4.3 regression] Rejects valid: EQUIVALENCE of character substrings
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [Bug fortran/34557] [4.3 regression] Rejects valid: EQUIVALENCE of character substrings
- References: <bug-34557-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-01-02 22:38 -------
Confirmed. This is a regression vs. 4.2:
$ cat foo.f
! 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
$ gfortran-4.2 foo.f
$
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.3.0
Known to work| |4.2.3
Last reconfirmed|0000-00-00 00:00:00 |2008-01-02 22:38:48
date| |
Summary|Rejects valid: EQUIVALENCE |[4.3 regression] Rejects
|of character substrings |valid: EQUIVALENCE of
| |character substrings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34557