Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Christian Joensson
On 11/8/05, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 05:00:43PM +0100, Christian Joensson wrote: > > Sure, here's the (relevant(?) part of) generated libgomp_f.h: > > > > static inline void > > omp_check_defines (void) > > { > > char test[(24 != sizeof (omp_lock_t) > >

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Jakub Jelinek
On Tue, Nov 08, 2005 at 07:28:45PM +0100, Christian Joensson wrote: > > Before I experiment with that, pls note that the compiler is (default) > > configured for target sparc64-unknown-linux-gnu and with the configure > > option --with-cpu=v7 resulting in default v7 (32-bit) code. May this > > "tri

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Christian Joensson
On 11/8/05, Christian Joensson <[EMAIL PROTECTED]> wrote: > On 11/8/05, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 08, 2005 at 05:00:43PM +0100, Christian Joensson wrote: > > > Sure, here's the (relevant(?) part of) generated libgomp_f.h: > > > > > > static inline void > > > omp_check

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Christian Joensson
On 11/8/05, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 05:00:43PM +0100, Christian Joensson wrote: > > Sure, here's the (relevant(?) part of) generated libgomp_f.h: > > > > static inline void > > omp_check_defines (void) > > { > > char test[(24 != sizeof (omp_lock_t) > >

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Jakub Jelinek
On Tue, Nov 08, 2005 at 05:00:43PM +0100, Christian Joensson wrote: > Sure, here's the (relevant(?) part of) generated libgomp_f.h: > > static inline void > omp_check_defines (void) > { > char test[(24 != sizeof (omp_lock_t) >|| 4 != __alignof (omp_lock_t) >|| 24 != sizeo

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Christian Joensson
On 11/8/05, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > Can you please paste the omp_check_defines routine as from libgomp_f.h > and grep config_path Makefile Sure, here's the (relevant(?) part of) generated libgomp_f.h: static inline void omp_check_defines (void) { char test[(24 != sizeof (omp

Re: [gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Jakub Jelinek
On Tue, Nov 08, 2005 at 04:05:20PM +0100, Christian Joensson wrote: > Currently, on the gomp branch, I get this: > > if /bin/sh ./libtool --mode=compile > /usr/local/src/branch/objdir.gomp/./gcc/xgcc > -B/usr/local/src/branch/objdir.gomp/./gcc/ > -B/usr/local/sparc64-unknown-linux-gnu/bin/ > -B/us

[gomp] ./libgomp_f.h:71: error: size of array 'test' is negative

2005-11-08 Thread Christian Joensson
Currently, on the gomp branch, I get this: if /bin/sh ./libtool --mode=compile /usr/local/src/branch/objdir.gomp/./gcc/xgcc -B/usr/local/src/branch/objdir.gomp/./gcc/ -B/usr/local/sparc64-unknown-linux-gnu/bin/ -B/usr/local/sparc64-unknown-linux-gnu/lib/ -isystem /usr/local/sparc64-unknown-linux-g