This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/33894] [libgomp/parallel mode] pragma omp atomic broken
- From: "singler at ira dot uka dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2007 16:55:02 -0000
- Subject: [Bug libgomp/33894] [libgomp/parallel mode] pragma omp atomic broken
- References: <bug-33894-15121@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from singler at ira dot uka dot de 2007-10-25 16:55 -------
The command line is:
g++-trunk -D_GLIBCXX_PARALLEL -fopenmp -g3 -O0 ../../src/GCCTrunkTest.cpp -o
GCCTrunkTest
(GCC trunk revision 129315).
Preprocessed source as attached. The program outputs "Wrong result.". It works
with the proposed fix, and also if "balanced" is changed to "unbalanced".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33894