From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 950893858D39; Tue, 28 Feb 2023 12:28:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 950893858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677587329; bh=RtBHjy/XIpIHSJMHANKF98upiJF3d04vL18cVUUtP2I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ghPJGIp7bXqQB50Hjad7oWkCqB2WedPV18q1wzWrtwumURdn63rH6w+SIJNJ0xY0T VaToCS5COirxO5WvuUmbEsikAtolaTEwJG1lzgh7tKjbyEqtSojNW67hg3bguyFHdX EyoJLMaJ3JTKaRIkhxSVrchNjdm6Jh+TlaXCVdwA= From: "chrisfriedt at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108965] g++: unable to parse c11 _Generics Date: Tue, 28 Feb 2023 12:28:49 +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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chrisfriedt at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D108965 --- Comment #6 from Christopher Friedt --- It's supported OOTB in `clang++` but fails in `g++`. The example above is the simplest example that illustrates the issue. I am not being abusive, but it certainly did feel like gaslighting to read "you're doing it wrong" / close invalid without any consideration. Yes, the example is valid C. Yes, the example compiles under `clang++`. No,= the example does not compile under `g++`. Thanks for following up! Although it's getting kind of condescending now.=