c++/4012: Cleanup dumps core at -O2 on sparc-solaris
Jeff Sturm
jsturm@one-point.com
Tue Aug 21 08:10:00 GMT 2001
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
More information about the Gcc-bugs
mailing list