http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48750
--- Comment #10 from Tom <t.h.shorrock at gmail dot com> 2011-04-26 18:09:05 UTC --- Hi Paulo, Yes, this certainly fixes my segfault. Valgrind complains a little - although I am not sure if this is important (I am very new to the helgrind tool). In case it is useful, I attach the output I get, So the line numbers are meaningful, I include my modified par_loop.h and my test file. Here is my g++ -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) running on Ubuntu 10-10 Many thanks for your assistance with this. My gratitude to the FSF grows daily. Tom On 26 April 2011 16:20, paolo.carlini at oracle dot com < gcc-bugzi...@gcc.gnu.org> wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48750 > > --- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> > 2011-04-26 15:19:12 UTC --- > Seth, Tom, if you get a chance to test the changes I propose in Comment 7 > (suitably, trivially tweaked for 4.4.x), please let me know as soon as > possible. > > If Johannes cannot provide feedback on this issue over the next few days I > mean > to go ahead with my patch, likely for 4.6.x too, and work on a other > similar > tweaks in the same spirit elsewhere in the parallel code (luckily we have > only > an handful of operator new / operator delete pairs needing attention). > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. >