https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

            Bug ID: 89356
           Summary: [9 Regression] sorry, unimplemented: mangling
                    implicit_conv_expr in nodejs8 package since r268321
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Starting from the revision I see:

$ cat sorry.ii
typedef unsigned a;
template <typename> struct h {};
template <int, class b> auto c(b f) -> h<decltype(f(a{0}))>;
typedef char byte;
enum d : byte;
d g(byte);
h<d> e = c<6>(g);

$ g++ sorry.ii -c
sorry.ii: In instantiation of ‘h<decltype (f(((unsigned int)0)))> c(b) [with
int <anonymous> = 6; b = d (*)(char)]’:
sorry.ii:3:30: sorry, unimplemented: mangling implicit_conv_expr
    3 | template <int, class b> auto c(b f) -> h<decltype(f(a{0}))>;
      |

Reply via email to