https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70187

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-15
                 CC|                            |vries at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from vries at gcc dot gnu.org ---
Confirmed.

Fails in evaluating nodes[0] because nodes == vNULL, here in
possible_polymorphic_call_targets:
...
  if (!outer_type->all_derivations_known)
    {
      if (!speculative && final_warning_records
          && TREE_CODE (TREE_TYPE (nodes[0]->decl)) == METHOD_TYPE)  <<<
        {
          if (complete
              && nodes.length () == 1
              && warn_suggest_final_types
              && !outer_type->derived_types.length ())
            {
...

Reply via email to