* cppinit.c (sanity_checks): Avoid printf mismatch warnings.

From-SVN: r53694
This commit is contained in:
Andreas Jaeger 2002-05-21 22:09:00 +02:00
parent 35a76aacf6
commit 68bd6dd688
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2002-05-21 Andreas Jaeger <aj@suse.de>
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
2002-05-21 Richard Henderson <rth@redhat.com>
* reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
@ -33,7 +37,7 @@ Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.
2002-05-20 Duraid Madina <duraid@fl.net.au>
2002-05-20 Duraid Madina <duraid@fl.net.au>
* tradcpp.c (fixup_newlines): Use old-style function header.
@ -215,7 +219,7 @@ config/alpha:
* toplev.c (display_help): Kill -a -ax help.
* config/1750a/1750a.h, config/alpha/alpha.h,
* config/1750a/1750a.h, config/alpha/alpha.h,
config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
@ -258,7 +262,7 @@ config/alpha:
config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
config/v850/v850.c, config/v850/v850.h:
Move STRIP_NAME_ENCODING to out-of-line function and add

View File

@ -858,8 +858,9 @@ static void sanity_checks (pfile)
if (CPP_OPTION (pfile, precision) > BITS_PER_HOST_WIDEST_INT)
cpp_error (pfile, DL_FATAL,
"preprocessor arithmetic has maximum precision of %u bits; target requires %u bits",
BITS_PER_HOST_WIDEST_INT, CPP_OPTION (pfile, precision));
"preprocessor arithmetic has maximum precision of %lu bits; target requires %lu bits",
(unsigned long)BITS_PER_HOST_WIDEST_INT,
(unsigned long)CPP_OPTION (pfile, precision));
if (CPP_OPTION (pfile, precision) < CPP_OPTION (pfile, int_precision))
cpp_error (pfile, DL_FATAL,
@ -878,8 +879,9 @@ static void sanity_checks (pfile)
if (CPP_OPTION (pfile, wchar_precision) > BITS_PER_CPPCHAR_T)
cpp_error (pfile, DL_FATAL,
"CPP on this host cannot handle wide character constants over %u bits, but the target requires %u bits",
BITS_PER_CPPCHAR_T, CPP_OPTION (pfile, wchar_precision));
"CPP on this host cannot handle wide character constants over %lu bits, but the target requires %lu bits",
(unsigned long)BITS_PER_CPPCHAR_T,
(unsigned long)CPP_OPTION (pfile, wchar_precision));
}
#else
# define sanity_checks(PFILE)