Skip to content
Snippets Groups Projects
Commit 38a37714 authored by Nathan Sidwell's avatar Nathan Sidwell Committed by Nathan Sidwell
Browse files

re PR c++/20746 ([4.0 only] Incorrect return value for covariant return...

re PR c++/20746 ([4.0 only] Incorrect return value for covariant return function returning null ptr)

cp:
	PR c++/20746
	* method.c (use_thunk): Protect covariant pointer return
	adjustments from NULL pointers.
testsuite:
	PR c++/20746
	* g++.dg/abi/covariant5.C: New.

From-SVN: r97557
parent 6d6f2d08
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment