public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction @ 2021-12-06 8:38 pinskia at gcc dot gnu.org 2021-12-06 8:39 ` [Bug c++/103572] " pinskia at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-12-06 8:38 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Bug ID: 103572 Summary: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code Severity: trivial Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Reduced testcase: template <view_concept urng_t> class view { view(view const & rhs) = default; }; view v1(0); ---- CUT ---- GCC 10 did not ICE: <source>:1:11: error: 'view_concept' has not been declared 1 | template <view_concept urng_t> | ^~~~~~~~~~~~ <source>:6:10: error: class template argument deduction failed: 6 | view v1(0); | ^ <source>:6:10: error: no matching function for call to 'view(int)' <source>:4:3: note: candidate: 'template<<declaration error> > view(const view<<declaration error> >&)-> view<<declaration error> >' 4 | view(view const & rhs) = default; | ^~~~ <source>:4:3: note: template argument deduction/substitution failed: <source>:2:7: note: candidate: 'template<<declaration error> > view(view<<declaration error> >)-> view<<declaration error> >' 2 | class view | ^~~~ <source>:2:7: note: template argument deduction/substitution failed: ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103572] [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction 2021-12-06 8:38 [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction pinskia at gcc dot gnu.org @ 2021-12-06 8:39 ` pinskia at gcc dot gnu.org 2022-01-21 13:57 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-12-06 8:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.3 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect this is the same bug as PR 102709 but with a different testcase. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103572] [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction 2021-12-06 8:38 [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction pinskia at gcc dot gnu.org 2021-12-06 8:39 ` [Bug c++/103572] " pinskia at gcc dot gnu.org @ 2022-01-21 13:57 ` rguenth at gcc dot gnu.org 2022-04-21 7:50 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c++/103572] [11/12/13/14 " jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-01-21 13:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103572] [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction 2021-12-06 8:38 [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction pinskia at gcc dot gnu.org 2021-12-06 8:39 ` [Bug c++/103572] " pinskia at gcc dot gnu.org 2022-01-21 13:57 ` rguenth at gcc dot gnu.org @ 2022-04-21 7:50 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c++/103572] [11/12/13/14 " jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-04-21 7:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.3 |11.4 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 11.3 is being released, retargeting bugs to GCC 11.4. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/103572] [11/12/13/14 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction 2021-12-06 8:38 [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction pinskia at gcc dot gnu.org ` (2 preceding siblings ...) 2022-04-21 7:50 ` rguenth at gcc dot gnu.org @ 2023-05-29 10:06 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2023-05-29 10:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.4 |11.5 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 11.4 is being released, retargeting bugs to GCC 11.5. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-29 10:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-12-06 8:38 [Bug c++/103572] New: [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction pinskia at gcc dot gnu.org 2021-12-06 8:39 ` [Bug c++/103572] " pinskia at gcc dot gnu.org 2022-01-21 13:57 ` rguenth at gcc dot gnu.org 2022-04-21 7:50 ` rguenth at gcc dot gnu.org 2023-05-29 10:06 ` [Bug c++/103572] [11/12/13/14 " jakub 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).