public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/84857] A valid call to a template function in a variadic template struct is rejected
[not found] <bug-84857-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-27 7:19 ` pinskia at gcc dot gnu.org
2021-11-08 9:42 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-27 7:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84857
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2018-03-14 00:00:00 |2021-7-27
Keywords| |ice-on-invalid-code
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note if you do (instead of the last line):
int t = S<int, int>::f<0>();
On the trunk we produce an ICE:
<source>:9:26: internal compiler error: tree check: accessed elt 1 of
'tree_vec' with 0 elts in tsubst_pack_expansion, at cp/pt.c:13047
9 | int t = S<int, int>::f<0>();
| ~~~~~~~~~~~~~~~~~^~
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/84857] A valid call to a template function in a variadic template struct is rejected
[not found] <bug-84857-4@http.gcc.gnu.org/bugzilla/>
2021-07-27 7:19 ` [Bug c++/84857] A valid call to a template function in a variadic template struct is rejected pinskia at gcc dot gnu.org
@ 2021-11-08 9:42 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-08 9:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84857
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=84796
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Note if you do (instead of the last line):
That would make it related to PR 84796.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-08 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84857-4@http.gcc.gnu.org/bugzilla/>
2021-07-27 7:19 ` [Bug c++/84857] A valid call to a template function in a variadic template struct is rejected pinskia at gcc dot gnu.org
2021-11-08 9:42 ` 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).