[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-30 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2007-11-30 12:16 --- Subject: Bug 34133 Author: burnus Date: Fri Nov 30 12:16:35 2007 New Revision: 130535 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130535 Log: 2007-11-20 Tobias Burnus [EMAIL PROTECTED] PR

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-30 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2007-11-30 16:04 --- FIXED on the trunk (4.3.0). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-20 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-11-20 10:55 --- Assign bug to myself. I have a patch, which does: - rejects bind(c) with -std=f2003 for internal function (was missing!) - Allows for -std=gnu bind(c) for internal procedures, but rejects bind(c,name=...) - Rejects

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-20 Thread patchapp at dberlin dot org
--- Comment #8 from patchapp at dberlin dot org 2007-11-20 14:01 --- Subject: Bug number PR34133 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01062.html --

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-19 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-11-19 21:17 --- (In reply to comment #3) i don't think this constraint exists in F08 (at least i cannot find it). You are right. However, there is still a constrain. Fortran 2003 has: C1236 (R1225) A proc-language-binding-spec

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-19 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-11-19 21:27 --- Ok. Found it in 15.5.2 Binding labels for procedures of the Fortran 2008 draft with the expected wording: If a procedure has the BIND attribute with no NAME= specifier, and the procedure is not a dummy procedure,

[Bug fortran/34133] Bind(c,name=) should be rejected for dummies; F2008: allow bind(c) for internal procs

2007-11-19 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2007-11-20 05:04 --- Subject: Bug number PR34133 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00956.html --