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/34557] [4.3 regression] Rejects valid: EQUIVALENCE of character substrings



------- 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


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