This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4012: Cleanup dumps core at -O2 on sparc-solaris
- To: rodrigc at gcc dot gnu dot org
- Subject: Re: c++/4012: Cleanup dumps core at -O2 on sparc-solaris
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Tue, 21 Aug 2001 11:11:45 -0400 (EDT)
- cc: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
On 18 Aug 2001 rodrigc@gcc.gnu.org wrote:
>
> Synopsis: Cleanup dumps core at -O2 on sparc-solaris
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Fri Aug 17 19:01:47 2001
> State-Changed-Why:
> I cannot reproduce this bug with:
> gcc version 3.0.1 20010816 (prerelease)
>
> Can you download a newer snapshot and try again?
Sure. I tried with the 3.0.1 release:
$ g++ -v
Reading specs from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/specs
Configured with: ../configure --prefix=/opt/gcc
--enable-langauges=c++,java --with-as=/opt/gnu/bin/as
--with-ld=/opt/gnu/bin/ld --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 3.0.1
$ g++ -O2 eh.cc -o eh
$ ./eh
enter: 1
Segmentation Fault(coredump)
This seems to be only a problem on SPARC.
Jeff