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: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2008 12:53:17 -0000
- 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 #2 from burnus at gcc dot gnu dot org 2008-01-03 12:53 -------
> Confirmed. This is a regression vs. 4.2:
I think it is not a regression with regards to 4.1 or 4.2. Here, it gives no
ICE/error/warning for .f (fixed-form source) but it does so for .f90 (free-form
source).
With free-form source, it works if one changes
EQUIVALENCE (A (2,1) (1:1), B (1) (2:3), C (3:5))
into
EQUIVALENCE (A (2,1)(1:1), B (1)(2:3), C(3:5))
Which explains why fixed form works and indicates what we do not eat the
whitespaces when matching a substring.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34557