Skip to content
Snippets Groups Projects
Commit ed9e19a4 authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

re PR sanitizer/59437 (ICE in for g++ -S -fvtable-verify=std -fsanitize=null)

	PR sanitizer/59437
	* vtable-verify.c (var_is_used_for_virtual_call_p): Check the
	return value of gimple_call_fn.  Use is_gimple_call/is_gimple_assign
	instead of gimple_code.
testsuite/
	* g++.dg/ubsan/pr59437.C: New test.

From-SVN: r205854
parent 475948fa
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