public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100007] New: Parameter packs not expanded with bit field
@ 2021-04-09 18:17 hewillk at gmail dot com
2021-08-13 0:21 ` [Bug c++/100007] Parameter packs not expanded with bit field in lambdas pinskia at gcc dot gnu.org
2021-08-13 0:25 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2021-04-09 18:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100007
Bug ID: 100007
Summary: Parameter packs not expanded with bit field
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
https://godbolt.org/z/ccb69heP9
template <int... Ns>
auto f() {
([] { struct U { int x : Ns; }; }, ...);
([] { union U { int x : Ns; }; }, ...);
}
gcc rejects it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/100007] Parameter packs not expanded with bit field in lambdas
2021-04-09 18:17 [Bug c++/100007] New: Parameter packs not expanded with bit field hewillk at gmail dot com
@ 2021-08-13 0:21 ` pinskia at gcc dot gnu.org
2021-08-13 0:25 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-13 0:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100007
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-08-13
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/100007] Parameter packs not expanded with bit field in lambdas
2021-04-09 18:17 [Bug c++/100007] New: Parameter packs not expanded with bit field hewillk at gmail dot com
2021-08-13 0:21 ` [Bug c++/100007] Parameter packs not expanded with bit field in lambdas pinskia at gcc dot gnu.org
@ 2021-08-13 0:25 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-13 0:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100007
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't think GCC handles any struct/union Parameter expansion correctly.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-13 0:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 18:17 [Bug c++/100007] New: Parameter packs not expanded with bit field hewillk at gmail dot com
2021-08-13 0:21 ` [Bug c++/100007] Parameter packs not expanded with bit field in lambdas pinskia at gcc dot gnu.org
2021-08-13 0:25 ` 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).