[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #7 from E dot Kuemmerle at fz-juelich dot de 2008-06-18 07:20 --- gcc release 4.3.1 already works! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #6 from E dot Kuemmerle at fz-juelich dot de 2008-06-17 14:06 --- I tried gcc 4.4.0 20080613 (experimental): indeed, it works now! -- E dot Kuemmerle at fz-juelich dot de changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #5 from bangerth at dealii dot org 2008-06-16 15:03 --- This appears to work for me now with gcc version 4.4.0 20080527 (experimental) [trunk revision 136055] (GCC) Can you check whether it also works for you? W. -- bangerth at dealii dot org changed: What|Removed |Added Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #4 from E dot Kuemmerle at fz-juelich dot de 2008-03-12 14:45 --- The bug ist still present in gcc 4.3.0: bug.cpp:16: internal compiler error: in create_tmp_var, at gimplify.c:497 -- E dot Kuemmerle at fz-juelich dot de changed: What|Removed |Added Version|4.2.1 |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #3 from bangerth at dealii dot org 2007-09-23 17:20 --- Confirmed. W. -- bangerth at dealii dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2007-09-23 17:20:55 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #2 from E dot Kuemmerle at fz-juelich dot de 2007-09-19 09:40 --- Here is a self-contained example: templateclass T, int Sz class Vector { public: explicit Vector() {} ~Vector() {} private: T m_data[Sz]; }; int main() { Vectorint,3 a[10]; int i; #pragma omp parallel { #pragma omp for schedule(dynamic) for (i=0; i10; ++i) { // do something } #pragma omp master { a[0] = a[1]; } #pragma omp for schedule(dynamic) for (i=0; i10; ++i) { // do something } } } I can avoid the internal compiler error by: 1) removing the '-fopenmp' option 2) changing the '#pragma omp' statements as shown in the original example 3) removing the destructor '~Vector() {}' from 'class Vector' in the new example! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435
[Bug c++/33435] internal compiler error with templates and openmp
--- Comment #1 from bangerth at dealii dot org 2007-09-18 19:16 --- Can you try to come up with an example that is self-contained, i.e. only contains those parts of the Tiny Vector Matrix library that are really used (or none at all)? W. -- bangerth at dealii dot org changed: What|Removed |Added CC||bangerth at dealii dot org Summary|internal compiler error with|internal compiler error with |templates and openmp|templates and openmp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33435