[Bug libmudflap/40778] [4.5/4.6/4.7 Regression] Mudflap instrumentation missing in cloned function.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 --- Comment #12 from Jakub Jelinek 2012-01-19 18:58:06 UTC --- Author: jakub Date: Thu Jan 19 18:58:02 2012 New Revision: 183307 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183307 Log: PR libmudflap/40778 * tree-mudflap.c (mf_artificial): New function. (execute_mudflap_function_ops, execute_mudflap_function_decls, mx_register_decls, mudflap_enqueue_decl): Use it. * testsuite/libmudflap.c/fail68-frag.c: New test. Added: trunk/libmudflap/testsuite/libmudflap.c/fail68-frag.c Modified: trunk/gcc/ChangeLog trunk/gcc/tree-mudflap.c trunk/libmudflap/ChangeLog
[Bug libmudflap/40778] [4.5/4.6/4.7 Regression] Mudflap instrumentation missing in cloned function.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 --- Comment #11 from Frank Ch. Eigler 2012-01-17 16:23:15 UTC --- Jakub's patch makes sense to me in the sense that it's the least modification over what's there. Unfortunately, I do not recall what other problems there were with instrumenting general DECL_ARTIFICIAL !mf_marked_p functions. Perhaps at the time, there was a problem propagating the mf_marked_p flag.
[Bug libmudflap/40778] [4.5/4.6/4.7 Regression] Mudflap instrumentation missing in cloned function.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 Jakub Jelinek changed: What|Removed |Added CC||fche at redhat dot com, ||jakub at gcc dot gnu.org --- Comment #10 from Jakub Jelinek 2012-01-17 11:15:34 UTC --- A fix has been posted but richi wants to do it differently: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01331.html Frank, do you remember why you don't want to instrument DECL_ARTIFICIAL functions? Would just DECL_STATIC_CONSTRUCTOR/DECL_STATIC_DESTRUCTOR test be sufficient instead?
[Bug libmudflap/40778] [4.5/4.6/4.7 Regression] Mudflap instrumentation missing in cloned function.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 Steven Bosscher changed: What|Removed |Added Status|NEW |WAITING CC||steven at gcc dot gnu.org --- Comment #9 from Steven Bosscher 2012-01-13 20:23:54 UTC --- I am not seeing these mudflap failures, and it seems I'm not the only one (http://gcc.gnu.org/ml/gcc-testresults/2012-01/msg01301.html, http://gcc.gnu.org/ml/gcc-testresults/2012-01/msg01300.html). Is there a test case that actually fails?
[Bug libmudflap/40778] [4.5/4.6/4.7 Regression] Mudflap instrumentation missing in cloned function.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778 Richard Guenther changed: What|Removed |Added Target Milestone|4.5.3 |4.5.4 --- Comment #8 from Richard Guenther 2011-04-28 14:51:14 UTC --- GCC 4.5.3 is being released, adjusting target milestone.