This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/28898] OpenMP-parallelized program crashes after a parallel for loop
- From: "stefan dot lankes at rwth-aachen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2006 09:55:03 -0000
- Subject: [Bug libgomp/28898] OpenMP-parallelized program crashes after a parallel for loop
- References: <bug-28898-13175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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