From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 15DE73858D28; Sat, 28 Jan 2023 13:22:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15DE73858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674912152; bh=6KbKgbSQ5vxrEILiLsWp8/3zEIT9G3FSJfDAMwNE9QE=; h=From:To:Subject:Date:From; b=I1twhdjqz0tUNRxVsFemWn5LOCZRzCdErg9KDRwb+/GW37FWcHcrdE4kfJMYZBKqV 9O3hZZJePXWChuglBMwFwEDDQ3Lo+MheBqqTLs7nm/eOC79f6wbwtZvCEGYxTcEfOa nGU+yJ1c6sR31tqIjAm+3iYk5OIQ7ZitquDekTSw= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5473] Modula-2: Claim Wreturn-type in lang.opt. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/master X-Git-Oldrev: 191c1e7bc7bab2da39679ce3e074f0fbb5f906b3 X-Git-Newrev: fe4608efc15b881ac908a3f90d7322736495ae72 Message-Id: <20230128132232.15DE73858D28@sourceware.org> Date: Sat, 28 Jan 2023 13:22:32 +0000 (GMT) List-Id: https://gcc.gnu.org/g:fe4608efc15b881ac908a3f90d7322736495ae72 commit r13-5473-gfe4608efc15b881ac908a3f90d7322736495ae72 Author: Iain Sandoe Date: Sat Jan 28 09:38:23 2023 +0000 Modula-2: Claim Wreturn-type in lang.opt. Modula-2 handles this warning so that we need to claim it in the language options. Signed-off-by: Iain Sandoe gcc/m2/ChangeLog: * lang.opt: Claim Wreturn-type. Diff: --- gcc/m2/lang.opt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt index ab4ea5547eb..b6ef8161d90 100644 --- a/gcc/m2/lang.opt +++ b/gcc/m2/lang.opt @@ -269,6 +269,10 @@ Wpedantic Modula-2 ; Documented in common.opt +Wreturn-type +Modula-2 +; Documented in common.opt + Wunused-variable Modula-2 ; Documented in c.opt