Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-31 Thread Andreas Schwab
"Andrew Pinski" <[EMAIL PROTECTED]> writes: > On Jan 30, 2008 7:38 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: >> See: http://www.linuxonly.nl/docs/2/0_Page_1.html > > It says: > This is because NULL is not of the right type: it is defined as > integer 0 instead of a pointer with the value 0. >

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-30 Thread Andrew Pinski
On Jan 30, 2008 7:55 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > But the current xgcc in gcc 4.3 building issue the warning yet. Yes because the header defines NULL incorrectly. Which was the whole issue in the first place. -- Pinski

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-30 Thread Dongsheng Song
But the current xgcc in gcc 4.3 building issue the warning yet. 2008/1/31, Andrew Pinski <[EMAIL PROTECTED]>: > On Jan 30, 2008 7:38 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > > See: http://www.linuxonly.nl/docs/2/0_Page_1.html > > > It says: > This is because NULL is not of the right type:

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-30 Thread Andrew Pinski
On Jan 30, 2008 7:38 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote: > See: http://www.linuxonly.nl/docs/2/0_Page_1.html It says: This is because NULL is not of the right type: it is defined as integer 0 instead of a pointer with the value 0. Except that is wrong from what the C99 standard says abo

[gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-30 Thread Dongsheng Song
See: http://www.linuxonly.nl/docs/2/0_Page_1.html It's very clear, you should use a type cast: result = concat ("(", cond1, ") && (", cond2, ")", (char *)NULL); instead of: result = concat ("(", cond1, ") && (", cond2, ")", NULL); Dongsheng 2008/1/29, Kaveh R. GHAZI <[EMAIL PROTECTED]

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-28 Thread Kaveh R. GHAZI
On Sun, 27 Jan 2008, Andrew Pinski wrote: > 2008/1/27 Cauchy Song <[EMAIL PROTECTED]>: > > $ uname -mrsp > > OpenBSD 4.2 i386 Intel(R) Pentium(R) M processor 1.73GHz ("GenuineIntel" > > 686-class) > > > ../../gcc-4.3-20080125/gcc/read-rtl.c: In function 'join_c_conditions': > > ../../gcc-4.3-20080

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-27 Thread Dongsheng Song
gcc-4.2.3-RC-20080125 is OK, so it's a regress. 2008/1/28, Andrew Pinski <[EMAIL PROTECTED]>: > 2008/1/27 Cauchy Song <[EMAIL PROTECTED]>: > > $ uname -mrsp > > OpenBSD 4.2 i386 Intel(R) Pentium(R) M processor 1.73GHz ("GenuineIntel" > > 686-class) > > > ../../gcc-4.3-20080125/gcc/read-rtl.c: In f

Re: [gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-27 Thread Andrew Pinski
2008/1/27 Cauchy Song <[EMAIL PROTECTED]>: > $ uname -mrsp > OpenBSD 4.2 i386 Intel(R) Pentium(R) M processor 1.73GHz ("GenuineIntel" > 686-class) > ../../gcc-4.3-20080125/gcc/read-rtl.c: In function 'join_c_conditions': > ../../gcc-4.3-20080125/gcc/read-rtl.c:790: error: missing sentinel in > fun

[gcc-4.3-20080125] Bootstrap failure on i386-unknown-openbsd4.2: missing sentinel in function call

2008-01-27 Thread Cauchy Song
$ uname -mrsp OpenBSD 4.2 i386 Intel(R) Pentium(R) M processor 1.73GHz ("GenuineIntel" 686-class) $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.2/3.3.5/specs Configured with: Thread model: single gcc version 3.3.5 (propolice) $ bash ../gcc-4.3-20080125/configure --prefix=/usr