[Bug libstdc++/12793] [3.3 Regression] Can't make static_cast from std::complex<double> to std::complex<float> in 3.3.1

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 27 21:21:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12793


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |libstdc++
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-27 20:56:53
               date|                            |
            Summary|Can't make static_cast from |[3.3 Regression] Can't make
                   |std::complex<double> to     |static_cast from
                   |std::complex<float> in 3.3.1|std::complex<double> to
                   |                            |std::complex<float> in 3.3.1
   Target Milestone|---                         |3.3.3


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-27 20:56 -------
A 3.3 regression, 3.0.4 accepted this and so does the mainline.
26.2.3 says that complex<float> has a copy constructor for complex<double>.



More information about the Gcc-bugs mailing list