[Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard)

2014-04-05 Thread larsmans at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60035

--- Comment #7 from larsmans at gmail dot com ---
Phase 1? (Not familiar with the GCC dev cycle.)


[Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard)

2014-04-05 Thread larsmans at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60035

larsmans at gmail dot com changed:

   What|Removed |Added

 CC||larsmans at gmail dot com

--- Comment #4 from larsmans at gmail dot com ---
Nathaniel, could you apply the cosmetic changes suggested at
http://gcc.gnu.org/ml/gcc-patches/2014-02/msg00860.html? I'd hate to see this
patch go to waste.


[Bug c++/57781] New: g++ 4.7 segfaults on trivial example program

2013-07-02 Thread larsmans at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57781

Bug ID: 57781
   Summary: g++ 4.7 segfaults on trivial example program
   Product: gcc
   Version: 4.7.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: larsmans at gmail dot com

Created attachment 30422
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30422&action=edit
Preprocessed source code that triggers the bug

Using GCC 4.7.3 from Debian:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.3-4'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl
--disable-cloog-version-check --disable-ppl-version-check --enable-multiarch
--with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--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.7.3 (Debian 4.7.3-4) 


On the attached preprocessed C++ source file, the compiler segfaults:

$ g++ -c a.ii
a.cc:3:17: warning: non-static data member initializers only available with
-std=c++11 or -std=gnu++11 [enabled by default]
a.cc: In constructor ‘A::B::B()’:
a.cc:2:12: internal compiler error: Segmentation fault


Similarly in C++11 mode:

$ g++ -std=c++11 -c a.ii
a.cc: In constructor ‘constexpr A::B::B()’:
a.cc:2:12: internal compiler error: Segmentation fault