This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cygwin/mingw] PR 21810: profiling of regparm functions


On Tue, May 31, 2005 at 07:44:40PM +1200, Danny Smith wrote:
>Hi
>
>Neither cygwin nor mingw's mcount needs a counter variable for
>profiling, so outputting these labels is a waste. In fact, loading a
>counter variable into a register (%edx) makes fixing the targets' mcount
>so that it can handle regparm functions a bit difficult.
>
>Chris, any objections to this. I have a patch to cygwin and mingw's
>mcount() that fixes the problem reported in
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21810
>but it requires this gcc patch as well.
>
>from  Danny Smith  <dannysmith@users.sourceforge.net>
>
>	* config/i386/cygming.h (NO_PROFILE_COUNTERS): Define.

No objections.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]