------- Comment #1 from pault at gcc dot gnu dot org  2009-04-07 09:23 -------
from error.c(error_print)

00470           case 'u':
00471             arg[pos].type = TYPE_UINTEGER;
00472 
00473           case 'l':
00474             c = *format++;
00475             if (c == 'u')
00476               arg[pos].type = TYPE_ULONGINT;
00477             else if (c == 'i' || c == 'd')
00478               arg[pos].type = TYPE_LONGINT;
00479             else
00480               gcc_unreachable ();
00481             break;

....so, yes, without analysis I would say that the report is correct.

Confirmed.  I have given it the "wrong-code" keyword because it is likely to be
true and to raise this out of the noise.

Paul 


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-07 09:23:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39576

Reply via email to