public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102873] New: GCC incorrectly expected parameter pack before '...'
@ 2021-10-21 8:46 hewillk at gmail dot com
2024-04-13 7:54 ` [Bug c++/102873] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: hewillk at gmail dot com @ 2021-10-21 8:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102873
Bug ID: 102873
Summary: GCC incorrectly expected parameter pack before '...'
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
#include <tuple>
#include <variant>
template<std::size_t>
using int_t = int;
template<std::size_t N>
using tuple_t = decltype([]<std::size_t... Is>(std::index_sequence<Is...>) {
return std::tuple<int_t<Is>...>{};
}(std::make_index_sequence<N>{}));
template<std::size_t N>
using variant_t = decltype([]<std::size_t... Is>(std::index_sequence<Is...>) {
return std::variant<tuple_t<Is>...>{};
}(std::make_index_sequence<N>{}));
using T = variant_t<6>;
https://godbolt.org/z/ov95G1aj1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/102873] GCC incorrectly expected parameter pack before '...'
2021-10-21 8:46 [Bug c++/102873] New: GCC incorrectly expected parameter pack before '...' hewillk at gmail dot com
@ 2024-04-13 7:54 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-13 7:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102873
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |14.0
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 14 by the recent lambda template patches.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-13 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 8:46 [Bug c++/102873] New: GCC incorrectly expected parameter pack before '...' hewillk at gmail dot com
2024-04-13 7:54 ` [Bug c++/102873] " pinskia 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).