The code passes the result of one function to a return statement in another, where the returned type has a constructor from the argument type. I'm expecting that the constructor will be invoked silently, but get a diagnostic. This appears to be a regression; the code worked in 3.4.0. A simple version of the logic gets no diagnostic, so here's the whole thing.
-- Summary: Failure to apply constructor Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: igodard at pacbell dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25465