------- Comment #3 from jason at gcc dot gnu dot org  2009-12-11 16:31 -------
The problem is that we create a FUNCTION_TYPE with error_mark_node parameter
type for error recovery, and then ptr_reasonably_similar tries to consider
conversions that are almost right in order to give better error messages (and
allow some with -fpermissive), and it thinks any function types are close
enough without noticing that we're dealing with an erroneous one.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-11-30 03:39:26         |2009-12-11 16:31:31
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42219

Reply via email to