mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 08:00:27 +08:00
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
This commit is contained in:
parent
42da70b76e
commit
69fb12844d
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user