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

Reply via email to