re PR c++/28501 (ICE with __real__ and implicit type conversion)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 3 May 2011 18:30:37 +0000 (18:30 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 3 May 2011 18:30:37 +0000 (18:30 +0000)
commit6add7e946e2254cbc23517a5b6ace896515efd45
tree5b54fd75fd28c348f895e73ff35746d06e0027f9
parentbb3398ca65dc96386528d6f0b4e80613392bbff6
re PR c++/28501 (ICE with __real__ and implicit type conversion)

/cp
2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28501
* call.c (add_builtin_candidate): Handle REALPART_EXPR and
IMAGPART_EXPR.

/testsuite
2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28501
* g++.dg/ext/complex9.C: New.

From-SVN: r173337
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/complex9.C [new file with mode: 0644]