From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0ECDC3857832; Tue, 21 Nov 2023 22:37:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0ECDC3857832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700606240; bh=V76bC+HHtp2fRLJcdMBjcZhB1Xdm8YagH0kQFs7nlJM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gF7lBcekhLv2zGcg3782cYl2wKO9T1XKfHhuLVqx0VHYWfeoMVY5fCt6O9vTGBkMW M2auGz92Fcpb2HZyOoufsW4OAiQZQQrtiCW4m4e7gCaq7H5xiqd5YWG4vmUuDLLk8h dObMef8Li92TmW+qqWtVvaE8sea35ceFb8pmoGrU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112658] [12/13/14 Regression] ICE: finish_expr_stmt with casting an temp array to pointer and constructor call Date: Tue, 21 Nov 2023 22:37:19 +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: 13.2.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection 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.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112658 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D94264 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Hmm GCC rejects: > ``` > struct foo{ > foo(const int *new_mac); > }; > typedef int t[1]; >=20 > void g(){ > foo f(t{ 0xFC}); > } > ``` > While clang, MSVC all accepts it ... Oh wait that is PR 94264.=