[Bug libstdc++/33892] [libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope

2007-11-02 Thread singler at ira dot uka dot de
--- Comment #5 from singler at ira dot uka dot de 2007-11-02 15:50 --- (In reply to comment #4) > (In reply to comment #2) > > BTW, compatibility.h is horribly i?86/x86_64 centric, there are many other > > arches > > which support 64-bit __s

[Bug libgomp/33894] [libgomp/parallel mode] pragma omp atomic broken

2007-10-26 Thread singler at ira dot uka dot de
--- Comment #3 from singler at ira dot uka dot de 2007-10-26 15:22 --- > Preprocessed source as attached. Apparently, the file is slightly to big. So I put it here: http://algo2.iti.uni-karlsruhe.de/singler/GCCTrunkTest.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33894

[Bug libgomp/33894] [libgomp/parallel mode] pragma omp atomic broken

2007-10-25 Thread singler at ira dot uka dot de
--- 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 r

[Bug libgomp/33894] New: [libgomp/parallel mode] pragma omp atomic broken

2007-10-25 Thread singler at ira dot uka dot de
a omp atomic broken Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: singler at ira dot uka dot de GCC build triplet: x

[Bug libstdc++/33893] New: [parallel mode] Algorithms rely on omp_set_dynamic(false)

2007-10-25 Thread singler at ira dot uka dot de
everity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: singler at ira dot uka dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33893

[Bug libstdc++/33892] New: [libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope

2007-10-25 Thread singler at ira dot uka dot de
ReportedBy: singler at ira dot uka dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33892

[Bug libstdc++/33490] parallel v3: std::accumulate assumes iterators have std::iterator_traits declared

2007-10-19 Thread singler at ira dot uka dot de
--- Comment #4 from singler at ira dot uka dot de 2007-10-19 08:39 --- There are other places in regular stl_algo.h where iterator_traits::value_type is assumed, not only for concept checking, but for actual functionality, e. g. template _OutputIterator __unique_copy

[Bug libstdc++/33490] parallel v3: std::accumulate assumes iterators have std::iterator_traits declared

2007-09-19 Thread singler at ira dot uka dot de
--- Comment #1 from singler at ira dot uka dot de 2007-09-19 18:42 --- The standard states clearly (24.3.1): "Accordingly, it is required that if Iterator is the type of an iterator, the types iterator_traits::difference_type iterator_traits::value_type iterator_t

[Bug libstdc++/33488] parallel v3: std::accumulate uses accumulator of wrong type

2007-09-19 Thread singler at ira dot uka dot de
--- Comment #1 from singler at ira dot uka dot de 2007-09-19 18:34 --- Instead of std::plus, a functor should be used that accepts two different types for LHS and RHS, Result and std::iterator_traits::value_type, respectively. -- singler at ira dot uka dot de changed