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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b74f0cb45fb..5f29c015cd0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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; } |