This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/8877: x86_function_profiler too many arguments for format
- From: mrjay123 at hotmail dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Dec 2002 07:14:39 -0000
- Subject: c/8877: x86_function_profiler too many arguments for format
- Reply-to: mrjay123 at hotmail dot com
>Number: 8877
>Category: c
>Synopsis: x86_function_profiler too many arguments for format
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 08 23:16:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: mrjay123@hotmail.com
>Release: self built gcc version 3.3 20021205 (experimental)
>Organization:
>Environment:
cygwin nt4
>Description:
/cvs/gcc/gcc/config/i386/i386.c: In function `x86_function_profiler':
/cvs/gcc/gcc/config/i386/i386.c:14312: warning: too many arguments for format
>How-To-Repeat:
build gcc with itself
>Fix:
$ cvs diff -c i386.c
Index: i386.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.494
diff -c -r1.494 i386.c
*** i386.c 8 Dec 2002 14:03:40 -0000 1.494
--- i386.c 9 Dec 2002 07:04:29 -0000
***************
*** 14308,14314 ****
else
{
#ifndef NO_PROFILE_COUNTERS
! fprintf (file, "\tmovl\t$%sP%d,%%$s\n", LPREFIX, labelno,
PROFILE_COUNT_REGISTER);
#endif
fprintf (file, "\tcall\t%s\n", MCOUNT_NAME);
--- 14308,14314 ----
else
{
#ifndef NO_PROFILE_COUNTERS
! fprintf (file, "\tmovl\t$%sP%d,%%%s\n", LPREFIX, labelno,
PROFILE_COUNT_REGISTER);
#endif
fprintf (file, "\tcall\t%s\n", MCOUNT_NAME);
>Release-Note:
>Audit-Trail:
>Unformatted: