From bf39dde3b1c57d107b03f3bd5734e398c0269c62 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 31 Oct 1998 07:50:34 +0000 Subject: [PATCH] Reinstall Apr 24th fix, lost during May 6th gcc2 merge: * c-common.c (check_format_info): Don't check for the 'x' format character twice, instead check for 'x' and 'X' From-SVN: r23472 --- gcc/ChangeLog | 6 ++++++ gcc/c-common.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1bc6b39066..70c5155d30d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Oct 31 10:23:14 1998 Kaveh R. Ghazi + + Reinstall Apr 24th fix, lost during May 6th gcc2 merge: + * c-common.c (check_format_info): Don't check for the 'x' + format character twice, instead check for 'x' and 'X' + Fri Oct 30 14:50:25 1998 Jeffrey A Law (law@cygnus.com) * configure.in (assembler features): Also make gas is configured if diff --git a/gcc/c-common.c b/gcc/c-common.c index ddb87cd4a00..c9023585f3c 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1803,7 +1803,7 @@ check_format_info (info, params) if (precise && index (flag_chars, '0') != 0 && (format_char == 'd' || format_char == 'i' || format_char == 'o' || format_char == 'u' - || format_char == 'x' || format_char == 'x')) + || format_char == 'x' || format_char == 'X')) warning ("`0' flag ignored with precision specifier and `%c' format", format_char); switch (length_char)