public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/109388] New: clang warnings related to Modula-2
@ 2023-04-03  8:38 marxin at gcc dot gnu.org
  2023-04-03  9:14 ` [Bug modula2/109388] " gaius at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-04-03  8:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388

            Bug ID: 109388
           Summary: clang warnings related to Modula-2
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I see some clang warnings related to M2:

m2/gm2-compiler-boot/M2GCCDeclare.c:8085:67: warning: unused parameter 'module'
[-Wunused-parameter]
m2/gm2-compiler-boot/PHBuild.c:3384:13: warning: unused function 'PeepToken'
[-Wunused-function]
m2/gm2-compiler-boot/PHBuild.c:3880:13: warning: unused function
'PushQualident' [-Wunused-function]
m2/gm2-compiler-boot/PHBuild.c:6735:13: warning: unused function 'SimpleDes'
[-Wunused-function]
m2/gm2-compiler-boot/PHBuild.c:6755:13: warning: unused function
'ActualParameters' [-Wunused-function]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug modula2/109388] clang warnings related to Modula-2
  2023-04-03  8:38 [Bug modula2/109388] New: clang warnings related to Modula-2 marxin at gcc dot gnu.org
@ 2023-04-03  9:14 ` gaius at gcc dot gnu.org
  2023-04-03 14:05 ` cvs-commit at gcc dot gnu.org
  2023-04-03 14:06 ` gaius at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-04-03  9:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-04-03

--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Indeed thanks for reporting this - will fix.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug modula2/109388] clang warnings related to Modula-2
  2023-04-03  8:38 [Bug modula2/109388] New: clang warnings related to Modula-2 marxin at gcc dot gnu.org
  2023-04-03  9:14 ` [Bug modula2/109388] " gaius at gcc dot gnu.org
@ 2023-04-03 14:05 ` cvs-commit at gcc dot gnu.org
  2023-04-03 14:06 ` gaius at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-04-03 14:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <gaius@gcc.gnu.org>:

https://gcc.gnu.org/g:9a75f0a02e5006e081b335acd36300a85bef8eb8

commit r13-6987-g9a75f0a02e5006e081b335acd36300a85bef8eb8
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Mon Apr 3 15:04:06 2023 +0100

    PR modula2/109388 clang warnings related to Modula-2

    This patch removes an unused parameter 'module' from
    DoVariableDeclaration in M2GCCDeclare.mod.  It also removes unused
    procedures from PHBuild.bnf.

    gcc/m2/ChangeLog:

            PR modula2/109388
            * gm2-compiler/M2GCCDeclare.mod (DoVariableDeclaration):
            Remove second parameter module.  Adjust all callers to
            remove the second parameter.
            * gm2-compiler/PHBuild.bnf (CheckAndInsert): Remove.
            (InStopSet): Remove.
            (PeepToken): Remove.
            (PushQualident): Remove.
            (SimpleDes): Remove.
            (ActualParameters): Remove.

    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug modula2/109388] clang warnings related to Modula-2
  2023-04-03  8:38 [Bug modula2/109388] New: clang warnings related to Modula-2 marxin at gcc dot gnu.org
  2023-04-03  9:14 ` [Bug modula2/109388] " gaius at gcc dot gnu.org
  2023-04-03 14:05 ` cvs-commit at gcc dot gnu.org
@ 2023-04-03 14:06 ` gaius at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-04-03 14:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Closing as the patch has been applied - thanks for reporting the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-03 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03  8:38 [Bug modula2/109388] New: clang warnings related to Modula-2 marxin at gcc dot gnu.org
2023-04-03  9:14 ` [Bug modula2/109388] " gaius at gcc dot gnu.org
2023-04-03 14:05 ` cvs-commit at gcc dot gnu.org
2023-04-03 14:06 ` gaius at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).