Re: Object size checking builtin test case and uClibc

2006-03-17 Thread Jie Zhang
On 3/18/06, Jie Zhang <[EMAIL PROTECTED]> wrote: > Jie Zhang wrote: > > Hi, > > > > In gcc.c-torture/execute/builtins/lib/chk.c, vsnprintf () is defined > > using vsprintf (). While vsnprintf () in uClibc is defined using > ^ Sorry, should be vsprintf > > vsnprin

Re: Object size checking builtin test case and uClibc

2006-03-17 Thread Jie Zhang
Jie Zhang wrote: Hi, In gcc.c-torture/execute/builtins/lib/chk.c, vsnprintf () is defined using vsprintf (). While vsnprintf () in uClibc is defined using ^ Sorry, should be vsprintf vsnprintf (). When testing on uClinux with uClibc, pr23484-chk.c failed beca

Object size checking builtin test case and uClibc

2006-03-17 Thread Jie Zhang
Hi, In gcc.c-torture/execute/builtins/lib/chk.c, vsnprintf () is defined using vsprintf (). While vsnprintf () in uClibc is defined using vsnprintf (). When testing on uClinux with uClibc, pr23484-chk.c failed because these two functions will call each other recursively and finally overflow the st