Getting started writing a GIMPLE analysis plugin
Florian Weimer
fweimer@redhat.com
Tue Sep 25 08:56:00 GMT 2012
On 09/18/2012 02:50 PM, Florian Weimer wrote:
> Any idea what might be the cause?
This was caused by a missing return statement in the pass callback.
With a "return 0;", like this:
static unsigned
banned_functions_execute()
{
do_banned_functions(gimple_body(current_function_decl));
return 0;
}
it does not happen anymore.
--
Florian Weimer / Red Hat Product Security Team
More information about the Gcc-help
mailing list