From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CF7C3858422; Fri, 20 Oct 2023 20:16:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CF7C3858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697832975; bh=ABwkhigkQNYvo/lnZMPQixYYEpod84Ztvq6NOAK+AEA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jfPYqej6x8VCni1HWqlxH4BSnBVrrJWgGkTxmVzkBvR1DX/6sEgEowQ6qXQ9aU29m 9HSQNd2clI33EaswWOKeP3pQF7rWPn8PNrG3BxWVNqC54uIUOhpT0KdjuHuWViCAus 0bsXESykQd6DvtMi+NcbiMo8GAgJIvJKroXQEt4w= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options Date: Fri, 20 Oct 2023 20:16:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.4.4 X-Bugzilla-Keywords: diagnostic, easyhack, meta-bug X-Bugzilla-Severity: major X-Bugzilla-Who: cvs-commit 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: 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=3D44209 --- Comment #10 from CVS Commits --- The master branch has been updated by Florian Weimer : https://gcc.gnu.org/g:857a6ee25ff5cbb97715de4dd97e1641285c6085 commit r14-4804-g857a6ee25ff5cbb97715de4dd97e1641285c6085 Author: Florian Weimer Date: Fri Oct 20 21:27:52 2023 +0200 c: -Wincompatible-pointer-types should cover mismatches in ?: gcc/c/ PR c/109826 PR other/44209 * c-typeck.cc (build_conditional_expr): Use OPT_Wincompatible_pointer_types for pointer mismatches. Emit location information for the operand. gcc/testsuite/ * gcc.dg/Wincompatible-pointer-types-2.c: New. * gcc.dg/Wincompatible-pointer-types-3.c: New. * gcc.dg/Wincompatible-pointer-types-4.c: New.=