Commit 69fb1284 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/25962 (Pointer (null) check after the use in cgraph.c)

	PR middle-end/25962
	* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.

From-SVN: r113522
parent 42da70b7
2006-05-04 Jan Hubicka <jh@suse.cz>
PR middle-end/25962
* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/predicates.md (const01_rtx): Tell generator programs
......
......@@ -731,9 +731,9 @@ verify_cgraph_node (struct cgraph_node *node)
main_clone = main_clone->next_clone)
if (main_clone == node)
break;
if (!node)
if (!cgraph_node (node->decl))
{
error ("node not found in DECL_ASSEMBLER_NAME hash");
error ("node not found in cgraph_hash");
error_found = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment