OSDN Git Service

PR c++/31780
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2008 19:45:11 +0000 (19:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2008 19:45:11 +0000 (19:45 +0000)
commitf2f890a416ef9428dc59912e0eff42739954463a
treed63ed006c4a66749f6e6342f438d45f7bd2ec881
parentb813a2e9c52ab79f2e06c6957c806fca4dae396f
    PR c++/31780
        * call.c (standard_conversion): Allow conversion from integer/real
        to complex.
        (compare_ics): Such a conversion is worse than a normal arithmetic
        conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131832 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/ext/complex3.C [new file with mode: 0644]