Re: [PATCH] [Annotalysis] Change to get_virtual_function_decl

2011-07-06 Thread Diego Novillo
On Wed, Jul 6, 2011 at 17:56, Delesley Hutchins wrote: > This patch modifies the behavior of cp_get_virtual_function_decl in > gcc/cp/class.c so that it returns NULL if the function declaration > cannot be found.  The previous behavior was to fail with a > segmentation fault.  The method-not-found

[PATCH] [Annotalysis] Change to get_virtual_function_decl

2011-07-06 Thread Delesley Hutchins
This patch modifies the behavior of cp_get_virtual_function_decl in gcc/cp/class.c so that it returns NULL if the function declaration cannot be found. The previous behavior was to fail with a segmentation fault. The method-not-found case may occur when Annotalysis uses the function to look up a