Re: Getting started writing a GIMPLE analysis plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux