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/33894] [libgomp/parallel mode] pragma omp atomic broken



------- 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


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