From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6DBD03857020; Tue, 7 Jul 2020 14:58:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DBD03857020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594133898; bh=7Uk8c19BZC/c9OTA6GJKZsnzZG3Qu3ve0i6RozBtsZE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p7kEfJeeC6KXAw8oUAI7oDsj6xbj8VF5S5RBghr7QlGTj6HVAb3u+FSWMbiR6H41u rthe+9mC5s/7Exi1X+3d3P+bzILI46ftdWavv7pwJ+SRh8SihigAdYIf3aKpfFXfmE iIAxm+OaGlSP14Tdq1JA1FG2jUTKm2D9/dzNMA74= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95675] [8/9/10/11 Regression] internal compiler error: in build_over_call Date: Tue, 07 Jul 2020 14:58:18 +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: 11.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc cf_known_to_fail short_desc cf_known_to_work 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: Tue, 07 Jul 2020 14:58:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95675 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking CC| |ppalka at gcc dot gnu.org Known to fail| |10.1.0, 8.4.0, 9.3.0 Summary|internal compiler error: in |[8/9/10/11 Regression] |build_over_call |internal compiler error: in | |build_over_call Known to work| |6.4.0 --- Comment #3 from Patrick Palka --- Here's a reduced testcase that ICEs when compiled with -std=3Dc++17 since r= 7-3599 (when GCC is configured with --enable-checking=3Dyes): $ cat 95675.C struct a {}; template struct b; template struct b { decltype(bq()(br())) c; }; struct e { operator a(); }; b d; $ g++ -std=3Dc++17 95675.C 95675.C: In instantiation of =E2=80=98struct b=E2=80=99:=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 95675.C:9:16: required from here=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 95675.C:4:16: internal compiler error: in build_over_call, at cp/call.c:894= 5=20=20=20=20 4 | decltype(bq()(br())) c;=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 | ~~~~^~~~~~=