This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/4012: Cleanup dumps core at -O2 on sparc-solaris




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]