This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/11950] -finstrument-functions should be done at the tree level
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2003 01:57:57 -0000
- Subject: [Bug other/11950] -finstrument-functions should be done at the tree level
- References: <20030816163441.11950.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-11 01:57 -------
This is fixed by RTH by:
* builtins.c (expand_builtin_profile_func): New.
(expand_builtin): Use it.
* builtins.def (BUILT_IN_PROFILE_FUNC_ENTER): New.
(BUILT_IN_PROFILE_FUNC_EXIT): New.
* function.c (expand_function_start, expand_function_end): Don't
do function instrumentation here.
* gimplify.c (gimplify_function_tree): Do it here.
* c-opts.c (c_common_post_options): Don't ever use rtl inlining.
fortran/
* options.c (gfc_post_options): Don't ever use rtl inlining.
java/
* lang.c (java_post_options): Don't ever use rtl inlining.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11950