1.5.25: gcc/gomp crash

2009-07-10 Thread robs
Hello, Compiling and running the attached gomp test code crashes (or sometimes locks up) on a dual core PC. I.e. gcc -fopenmp -lgomp gomp-test.c ./a.exe crashes. If invoked as ./a.exe 1 however, the program is run single-threaded and completes correctly. Does the test code appear to be co

Re: 1.5.25: gcc/gomp crash

2009-07-10 Thread robs
On Friday 10 Jul 2009, you wrote: > 2009/7/10 robs: > > Compiling and running the attached gomp test code crashes (or sometimes > > locks up) on a dual core PC. > > > I.e. > > gcc -fopenmp -lgomp gomp-test.c > > ./a.exe > > crashes. ?If invoked as > &g

Re: 1.5.25: gcc/gomp crash

2009-07-12 Thread robs
Dave Korn wrote: > OTOH I just fixed a bunch of multi-threading bugs in 1.7 a couple of > versions back. Your testcase works just fine using 4.3.2 and 1.7. > BTW I run on an dual core AMD64x2. Thanks Dave, I can repeat your success with the testcase and 1.7 here (also on AMD64x2). My app n