public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select
@ 2014-02-10 5:41 vince.rev at gmail dot com
2015-03-24 16:53 ` [Bug c++/60130] " paolo.carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vince.rev at gmail dot com @ 2014-02-10 5:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60130
Bug ID: 60130
Summary: Sorry, unimplemented: mangling argument_pack_select
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vince.rev at gmail dot com
Hello.
Consider the following code in C++11:
------------------------------------------------------
#include <tuple>
template <class S, class F, class... T>
S f1(F f, T... x)
{
return std::get<0>(std::make_tuple(f(x)...));
}
template <class... T>
int f2(const T... x)
{
return std::get<0>(std::make_tuple(f1<T>([](int n){return n;}, x)...));
}
int main()
{
return f2(42);
}
------------------------------------------------------
Under g++ 4.8.1 and 4.8.2 (I have not tried 4.9.0), it produces the following
compilation error: "sorry, unimplemented: mangling argument_pack_select". This
code compiles without any error under intel and clang.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60130] Sorry, unimplemented: mangling argument_pack_select
2014-02-10 5:41 [Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select vince.rev at gmail dot com
@ 2015-03-24 16:53 ` paolo.carlini at oracle dot com
2015-03-24 16:56 ` paolo at gcc dot gnu.org
2015-03-24 17:02 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-03-24 16:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60130
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed for 5.0. I'm adding the testcase and closing the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60130] Sorry, unimplemented: mangling argument_pack_select
2014-02-10 5:41 [Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select vince.rev at gmail dot com
2015-03-24 16:53 ` [Bug c++/60130] " paolo.carlini at oracle dot com
@ 2015-03-24 16:56 ` paolo at gcc dot gnu.org
2015-03-24 17:02 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo at gcc dot gnu.org @ 2015-03-24 16:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60130
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Mar 24 16:43:33 2015
New Revision: 221637
URL: https://gcc.gnu.org/viewcvs?rev=221637&root=gcc&view=rev
Log:
2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60130
* g++.dg/cpp0x/vt-60130.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/vt-60130.C
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/60130] Sorry, unimplemented: mangling argument_pack_select
2014-02-10 5:41 [Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select vince.rev at gmail dot com
2015-03-24 16:53 ` [Bug c++/60130] " paolo.carlini at oracle dot com
2015-03-24 16:56 ` paolo at gcc dot gnu.org
@ 2015-03-24 17:02 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-03-24 17:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60130
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.0
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-24 16:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10 5:41 [Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select vince.rev at gmail dot com
2015-03-24 16:53 ` [Bug c++/60130] " paolo.carlini at oracle dot com
2015-03-24 16:56 ` paolo at gcc dot gnu.org
2015-03-24 17:02 ` paolo.carlini at oracle dot com
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).