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


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