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

jsturm@one-point.com jsturm@one-point.com
Sun Aug 12 18:46:00 GMT 2001


>Number:         4012
>Category:       c++
>Synopsis:       Cleanup dumps core at -O2 on sparc-solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 12 18:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Sturm
>Release:        gcc version 3.0.1 20010806 (prerelease)
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
The attached program dumps core when compiled at -O2
or higher.

This alleged bug was also in 3.0, but is a regression
from 2.95.2.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="eh.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="eh.cc"

I2luY2x1ZGUgPGNzdGRpbz4KCnN0cnVjdCBzaWxseSB7CiAgaW50IHZhbDsKICBzaWxseSAoaW50
IG4pIHsgdmFsID0gbjsgZnByaW50ZiAoc3RkZXJyLCAiZW50ZXI6ICVkXG4iLCB2YWwpOyB9CiAg
fnNpbGx5ICgpIHsgZnByaW50ZiAoc3RkZXJyLCAibGVhdmU6ICVkXG4iLCB2YWwpOyB9Cn07Cgpp
bnQgbWFpbiAoaW50IGFyZ2MsIGNoYXIgKiopIHsKICB0cnkgewogICAgc2lsbHkgcyAoYXJnYyk7
CiAgICB0aHJvdyAxOwogIH0gY2F0Y2ggKGludCBuKSB7fQogIHJldHVybiAwOwp9Cg==



More information about the Gcc-bugs mailing list