This is the mail archive of the gcc-bugs@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]

egcs-971225 hpux9 unknown conversion type character `r' in format


	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.


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