The following testcase triggers an ICE since at least GCC 2.95.3: ============================= struct A { operator int(); };
int i = __real__ A(); ============================= bug.cc:6: internal compiler error: in add_builtin_candidate, at cp/call.c:1979 Please submit a full bug report, [etc.] The code is probably invalid, but I'm not sure. -- Summary: ICE with __real__ and implicit type conversion Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28501