public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95298] New: sorry, unimplemented: mangling record_type
@ 2020-05-24  4:21 jonathan.poelen at gmail dot com
  2020-05-24  6:04 ` [Bug c++/95298] " tkoenig at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jonathan.poelen at gmail dot com @ 2020-05-24  4:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95298
           Summary: sorry, unimplemented: mangling record_type
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jonathan.poelen at gmail dot com
  Target Milestone: ---

Since version 7 to trunk, the following code no longer compiles
(https://godbolt.org/z/_j5EUA)

template<class...>
struct list{};

template<int n>
struct _func_select
{
  using f = void;
};

struct func
{
  template<class... seqs>
  using f = typename _func_select<sizeof...(seqs)>::f;
};

template<class... T>
func::f<list<T>...> foo(T&&...)
{}

int main()
{
  foo();
}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-12-22  0:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24  4:21 [Bug c++/95298] New: sorry, unimplemented: mangling record_type jonathan.poelen at gmail dot com
2020-05-24  6:04 ` [Bug c++/95298] " tkoenig at gcc dot gnu.org
2021-05-24 20:04 ` [Bug c++/95298] [9/10/11/12 Regression] " ppalka at gcc dot gnu.org
2021-06-01  8:17 ` rguenth at gcc dot gnu.org
2022-01-17 15:08 ` rguenth at gcc dot gnu.org
2022-05-27  9:42 ` [Bug c++/95298] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:40 ` jakub at gcc dot gnu.org
2022-08-28  9:13 ` janpmoeller at gmx dot de
2023-07-07 10:37 ` [Bug c++/95298] [11/12/13/14 " rguenth at gcc dot gnu.org
2023-12-22  0:23 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).