This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object
On Thu, Jun 26, 2008 at 4:53 AM, Maik Beckmann
<beckmann.maik@googlemail.com> wrote:
...
> All I wait for filing a bug report is someone out there saying that vanilla
> gcc-4.3.1 on his/her debian/ubuntu/redhat/fedora x86-64 (aka. amd64) box
> causes the same segfault with -O3 on the code I posted.
While you're waiting, try reinstalling gcc-4.3.1 by following EXACTLY
the installation instructions found here:
http://gcc.gnu.org/install/configure.html
Do NOT use a script, and make sure your build directory is NOT in or
under the gcc source tree.
-Tom