diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-04 12:42:55 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-04 12:42:55 +0000 |
commit | 0f6439b95fd5a56c33c7063c1cf1bd4d829a0d99 (patch) | |
tree | 7950d28102ac6fddaafee9a11e7b8686bdc77484 /gcc/cgraphunit.c | |
parent | f9edc33d3b2db25c88a7c1bb3a7ec71e2532420b (diff) | |
download | ppe42-gcc-0f6439b95fd5a56c33c7063c1cf1bd4d829a0d99.tar.gz ppe42-gcc-0f6439b95fd5a56c33c7063c1cf1bd4d829a0d99.zip |
PR middle-end/25962
* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113522 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 030f8681792..4a7f90e5e7f 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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; } |