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
This commit is contained in:
Kaveh R. Ghazi 1998-10-31 07:50:34 +00:00 committed by Kaveh Ghazi
parent 415634f602
commit bf39dde3b1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Sat Oct 31 10:23:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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

View File

@ -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)