Compiling the following code snippet with "g++ -fopenmp -O -Wall" I get a hosed error message:
============================ int i; void foo() { #pragma omp parallel { int j; i = j; } } ============================ bug.cc: In function 'void _Z3foov.omp_fn.0(void*)': bug.cc:8: warning: 'j' is used uninitialized in this function Because of the ".omp_fn.0" at the end of the function name the demangler cannot process it. Jakub, this is because of your patch http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01644.html Should we regard the ".omp_fn.0" suffix as an extension to the name mangling scheme and teach the demangler how to handle those things? This problem will probably also come up with debuggers etc. -- Summary: [gomp] Function names cannot be demangled due to ".omp_fn" suffix Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic, monitored, openmp Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015