Hi!
As discussed in the PR, clones are DECL_ARTIFICIAL, so
execute_mudflap_function_ops pass wasn't done on them. Skipping
the instrumentation of really artificial functions is ok, but
clones (and OpenMP functions etc.) are really user routines or parts
thereof.
Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?
2010-12-16 Jakub Jelinek<jakub@redhat.com>
PR libmudflap/40778
* tree-mudflap.c (execute_mudflap_function_ops): Instrument
even artificial functions, if their DECL_ORIGIN is not artificial.
* testsuite/libmudflap.c/fail68-frag.c: New test.