From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B23873858D39; Mon, 27 Mar 2023 13:55:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B23873858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679925357; bh=yUkHJATG6jlbRNGzhZteRITtMrMTUUitYR74tmBsOo8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yBp2HrZpnZcRlyh9mFZUFJgYqQOdIBWWqWYiqlE45v4Hf+g4kJy7E2U8QXxfZn7Cw jCg7I+G12+Z+d7xokLALlSBaGjx+KPT6x4tHLrmxozfmTC/v23GotKAmFDgWfe+wbx +m8LE8YslVFdsqq6Yrb1jFWDXLIzJorEZDYPybs0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/107041] [13 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device' Date: Mon, 27 Mar 2023 13:55:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D107041 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Richard Biener --- Note you can have a custom type instead of BT_FN_INT_INT, you could use a DEF_PRIMITIVE_TYPE and have a global variable initialized where we initialize builtins for it.=