diff options
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 b74f0cb..5f29c01 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 030f868..4a7f90e 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; } |
