From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 941A23858429; Mon, 21 Feb 2022 23:02:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 941A23858429 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104608] [12 Regression] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18367 Date: Mon, 21 Feb 2022 23:02:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_reconfirmed_on target_milestone everconfirmed bug_status short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2022 23:02:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104608 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Last reconfirmed|2022-02-20 00:00:00 |2022-02-21 Target Milestone|--- |12.0 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|internal compiler error: in |[12 Regression] internal |cp_parser_template_id, at |compiler error: in |cp/parser.cc:18367 |cp_parser_template_id, at | |cp/parser.cc:18367 --- Comment #4 from Andrew Pinski --- Confirmed, reduced testcase: class Parameter; template class Function=20 : public R=20=20 { Function(); }; template Function::Function() { this->template Parameter(); } ----- CUT ---- Note it is important that the forward declaration of the class Parameter is there even.=