libstdc++/7215: valarray<complex<double>> issue

dens@stl.sarov.ru dens@stl.sarov.ru
Fri Jul 5 05:34:00 GMT 2002


>Number:         7215
>Category:       libstdc++
>Synopsis:       valarray<complex<double>> issue
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 05 05:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Denis Nagorny
>Release:        gcc3-c++-3.0.1-3
>Organization:
>Environment:
Linux RedHat 7.2(Enigma)
gcc3-c++-3.0.1-3
libstdc++3-3.0.1-3
>Description:
libstdc++ can't produce abs function for valarray<complex<double>> type
>How-To-Repeat:
Try to compile attached test
>Fix:

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

I2luY2x1ZGUgPGNvbXBsZXg+CiNpbmNsdWRlIDx2YWxhcnJheT4KI2luY2x1ZGUgPGlvc3RyZWFt
PgoKaW50IG1haW4oaW50LGNoYXIqW10pCnsKCXN0ZDo6Y29tcGxleDxkb3VibGU+IHZhbCgtMS4w
LC0xLjApOwoJc3RkOjp2YWxhcnJheTxzdGQ6OmNvbXBsZXg8ZG91YmxlPiA+IEluQXJyYXkodmFs
LDMpLE91dEFycmF5OwoJCglPdXRBcnJheSA9IHN0ZDo6YWJzKEluQXJyYXkpOwoJZm9yKGludCBj
b3VudCA9IDA7IGNvdW50IDwgMzsgY291bnQrKykKCQkJc3RkOjpjb3V0IDw8IE91dEFycmF5W2Nv
dW50XSA8PCBzdGQ6OmVuZGw7CglyZXR1cm4gMDsKfQo=



More information about the Gcc-bugs mailing list