[Bug c++/77660] New: Conversion operator unknown or ambiguous: gcc or clang behave differently

2016-09-20 Thread naupacte at sfr dot fr
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: naupacte at sfr dot fr Target Milestone: --- In relation with bug #50306: (using gcc5.4.1 or gcc6.1 from macports) struct A; struct B; template struct Ptr { template

[Bug c++/77658] New: internal compiler error: in assign_temp, at function.c:961

2016-09-20 Thread naupacte at sfr dot fr
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: naupacte at sfr dot fr Target Milestone: --- //A very strange combination is needed to produce the ICE: //Full program: struct A { //A(); ~A(); // NEEDED to produce ICE }; #ifdef

[Bug c++/68515] New: std::result_of<F(X)> doesn't work when F is abstract (with pure virtual functions)

2015-11-24 Thread naupacte at sfr dot fr
FIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: naupacte at sfr dot fr Target Milestone: --- I had to replace 'typename std::result_of<F(X)>::type' by 'decltype(std::declval()(X()))' All is in the