This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35033] Valid ASSIGNMENT(=) rejected
- 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: 30 Jan 2008 22:29:21 -0000
- Subject: [Bug fortran/35033] Valid ASSIGNMENT(=) rejected
- References: <bug-35033-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2008-01-30 22:29 -------
Created an attachment (id=15059)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15059&action=view)
Patch - build & regtested (x86-64-linux)
Patch fixes actual problem and includes a test case. Missing is only improved
diagnostics. gfortran properly rejects the "p = q", however, it does not
diagnose this directly, but simply does not match any procedure.
I think one should do (in/with compare_actual_formal): First check whether it
matches in general; if it does check for the constrains. Currently both is done
at the same time and thus if "where == NULL" no diagnostics is printed.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15057|0 |1
is obsolete| |
AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35033