This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/28898] OpenMP-parallelized program crashes after a parallel for loop



------- Comment #2 from stefan dot lankes at rwth-aachen dot de  2006-08-30 09:55 -------
If I compile my test program with the current gcc and set OMP_NUM_THREADS to 2,
the program calculates a wrong value for PI. If I use Intel's C compiler, the
program calculates the correct value. Does the reduction statement work
correctly?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]