[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 --- Comment #5 from Marek Polacek --- (In reply to Matthias Klose from comment #4) > I got reports for this issue for the gcc-10 branch as well. Please could you > consider a backport? That must be a different problem, perhaps 98333.
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #4 from Matthias Klose --- I got reports for this issue for the gcc-10 branch as well. Please could you consider a backport?
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #3 from Marek Polacek --- Fixed.
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2b27f37f90cb66e277b734c605639e2f00a2e942 commit r11-6804-g2b27f37f90cb66e277b734c605639e2f00a2e942 Author: Marek Polacek Date: Wed Jan 13 13:12:14 2021 -0500 c++: Crash when deducing template arguments [PR98659] maybe_instantiate_noexcept doesn't expect to see error_mark_node, but the new callsite I introduced in r11-6476 can pass error_mark_node to it. So cope. gcc/cp/ChangeLog: PR c++/98659 * pt.c (maybe_instantiate_noexcept): Return false if FN is error_mark_node. gcc/testsuite/ChangeLog: PR c++/98659 * g++.dg/template/deduce8.C: New test.
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #1 from David Binderman --- I see this problem when compiling package nheko. I will try to produce another test case.
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Status|NEW |ASSIGNED
[Bug c++/98659] [11 Regression] ICE tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in maybe_instantiate_noexcept, at cp/pt.c:25445 since r11-6476-gaf362af18f405c34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98659 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Target Milestone|--- |11.0 Known to work||10.2.0 Last reconfirmed||2021-01-13 Ever confirmed|0 |1 Known to fail||11.0 Status|UNCONFIRMED |NEW