public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/103497] New: ICE when decltype(auto)... as parameters @ 2021-11-30 16:08 hewillk at gmail dot com 2021-11-30 16:18 ` [Bug c++/103497] [9/10/11/12 Regression] " mpolacek at gcc dot gnu.org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: hewillk at gmail dot com @ 2021-11-30 16:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Bug ID: 103497 Summary: ICE when decltype(auto)... as parameters 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: --- Feels like 12 regression. void foo(decltype(auto)... args); int main() { foo(); } https://godbolt.org/z/PqWTWKc6b ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [9/10/11/12 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com @ 2021-11-30 16:18 ` mpolacek at gcc dot gnu.org 2021-12-01 7:11 ` rguenth at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: mpolacek at gcc dot gnu.org @ 2021-11-30 16:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-11-30 Status|UNCONFIRMED |NEW CC| |mpolacek at gcc dot gnu.org Summary|ICE when decltype(auto)... |[9/10/11/12 Regression] ICE |as parameters |when decltype(auto)... as | |parameters Target Milestone|--- |9.5 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Started with r229722. GCC 6 regression. GCC 5: $ xg++-5 -c -std=c++14 103497.C 103497.C:2:28: error: expansion pattern ‘decltype(auto)’ contains no argument packs void foo(decltype(auto)... args); ^ ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [9/10/11/12 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com 2021-11-30 16:18 ` [Bug c++/103497] [9/10/11/12 Regression] " mpolacek at gcc dot gnu.org @ 2021-12-01 7:11 ` rguenth at gcc dot gnu.org 2022-05-27 9:46 ` [Bug c++/103497] [10/11/12/13 " rguenth at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2021-12-01 7:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [10/11/12/13 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com 2021-11-30 16:18 ` [Bug c++/103497] [9/10/11/12 Regression] " mpolacek at gcc dot gnu.org 2021-12-01 7:11 ` rguenth at gcc dot gnu.org @ 2022-05-27 9:46 ` rguenth at gcc dot gnu.org 2022-06-28 10:47 ` jakub at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-05-27 9:46 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.5 |10.4 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 9 branch is being closed ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [10/11/12/13 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com ` (2 preceding siblings ...) 2022-05-27 9:46 ` [Bug c++/103497] [10/11/12/13 " rguenth at gcc dot gnu.org @ 2022-06-28 10:47 ` jakub at gcc dot gnu.org 2023-07-07 10:41 ` [Bug c++/103497] [11/12/13/14 " rguenth at gcc dot gnu.org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: jakub at gcc dot gnu.org @ 2022-06-28 10:47 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.4 |10.5 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 10.4 is being released, retargeting bugs to GCC 10.5. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [11/12/13/14 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com ` (3 preceding siblings ...) 2022-06-28 10:47 ` jakub at gcc dot gnu.org @ 2023-07-07 10:41 ` rguenth at gcc dot gnu.org 2023-07-27 3:45 ` cvs-commit at gcc dot gnu.org 2024-03-04 16:43 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 10:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.5 |11.5 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 10 branch is being closed. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [11/12/13/14 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com ` (4 preceding siblings ...) 2023-07-07 10:41 ` [Bug c++/103497] [11/12/13/14 " rguenth at gcc dot gnu.org @ 2023-07-27 3:45 ` cvs-commit at gcc dot gnu.org 2024-03-04 16:43 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-07-27 3:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:ca912a39cccdd990ef705768faa7311ac210b3f3 commit r14-2814-gca912a39cccdd990ef705768faa7311ac210b3f3 Author: Nathaniel Shead <nathanieloshead@gmail.com> Date: Fri Jun 30 17:05:24 2023 +1000 c++: Fix ICE with parameter pack of decltype(auto) [PR103497] This patch ensures 'type_uses_auto' also checks for usages of 'auto' in parameter packs. PR c++/103497 gcc/cp/ChangeLog: * pt.cc (type_uses_auto): Check inside parameter packs. gcc/testsuite/ChangeLog: * g++.dg/cpp1y/decltype-auto-103497.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/103497] [11/12/13/14 Regression] ICE when decltype(auto)... as parameters 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com ` (5 preceding siblings ...) 2023-07-27 3:45 ` cvs-commit at gcc dot gnu.org @ 2024-03-04 16:43 ` mpolacek at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: mpolacek at gcc dot gnu.org @ 2024-03-04 16:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Fixed in GCC 14. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-03-04 16:43 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-11-30 16:08 [Bug c++/103497] New: ICE when decltype(auto)... as parameters hewillk at gmail dot com 2021-11-30 16:18 ` [Bug c++/103497] [9/10/11/12 Regression] " mpolacek at gcc dot gnu.org 2021-12-01 7:11 ` rguenth at gcc dot gnu.org 2022-05-27 9:46 ` [Bug c++/103497] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-06-28 10:47 ` jakub at gcc dot gnu.org 2023-07-07 10:41 ` [Bug c++/103497] [11/12/13/14 " rguenth at gcc dot gnu.org 2023-07-27 3:45 ` cvs-commit at gcc dot gnu.org 2024-03-04 16:43 ` mpolacek 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).