This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23965] [4.0 regression] Bogus error message: no matching function for call to 'foo(<type error>)'



------- Comment #5 from reichelt at gcc dot gnu dot org  2005-10-05 16:06 -------
This is now fixed on the 4.0 branch, too.

Unfortunately I committed a suboptimal version to the 3.4 branch and mainline:
Misreading Mark's comments on the original patch I used
  if (arg == error_mark_node || error_operand_p (arg))
instead of
  if (error_operand_p (arg))
Since arg == error_mark_node is already checked in error_operand_p,
the first test is superfluous.
I'll keep the PR open until this is fixed.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]