This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-971225 hpux9 unknown conversion type character `r' in format
- To: law at cygnus dot com
- Subject: egcs-971225 hpux9 unknown conversion type character `r' in format
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sat, 3 Jan 1998 11:57:14 -0500 (EST)
- Cc: egcs-bugs at cygnus dot com
I noticed another strange warning from egcs-971225 when building
with -W -Wall on hpux9.
> method.c:1888: warning: unknown conversion type character `r' in format
I tracked it down to the following, does this look right?
--Kaveh
Sat Jan 3 11:45:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
*** gcc/config/pa/pa.h~ Fri Dec 12 05:31:21 1997
--- gcc/config/pa/pa.h Fri Jan 2 17:01:11 1998
***************
*** 1118,1124 ****
if (VAL_14_BITS_P (DELTA)) \
fprintf (FILE, "\tb %s\n\tldo %d(%%r26),%%r26\n", target_name, DELTA); \
else \
! fprintf (FILE, "\taddil L%%%d,%r26\n\tb %s\n\tldo R%%%d(%%r1),%%r26\n", \
DELTA, target_name, DELTA); \
fprintf (FILE, "\n\t.EXIT\n\t.PROCEND\n"); \
}
--- 1118,1124 ----
if (VAL_14_BITS_P (DELTA)) \
fprintf (FILE, "\tb %s\n\tldo %d(%%r26),%%r26\n", target_name, DELTA); \
else \
! fprintf (FILE, "\taddil L%%%d,%%r26\n\tb %s\n\tldo R%%%d(%%r1),%%r26\n", \
DELTA, target_name, DELTA); \
fprintf (FILE, "\n\t.EXIT\n\t.PROCEND\n"); \
}
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu ICon CMT Corp.