------- Comment #2 from pault at gcc dot gnu dot org  2010-03-27 18:45 -------
Replacing the gcc_assert with

      if (!overriding || !overriding->n.tb)
        return FAILURE;

Fixes the problem.  This looks like one ICE too far :-)

It might be best, I suppose, to limit the above to overriding and to retain the
assert for its being a typebound procedure, if found.

Confirmed

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-27 18:45:45
               date|                            |


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

Reply via email to