From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E21893817FB7; Thu, 15 Dec 2022 19:26:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E21893817FB7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671132406; bh=X5EPCkLqa37MNiEJEC5teT/mnnSn2Yq2Kq292vRHv08=; h=From:To:Subject:Date:From; b=Goe0peHw6nHgScxJbTg9kzY5FnTphczIW+qYL+Cw6KU0lg/0dWgPpNDKgP28ZeuUY zEc0imFeWYk2xhwTrSOQAHJkMl2TmBzDLobGw43eYHSrhrf182/OAWe+BFLZLDbQ4Y 5F6LBfI4P8e3infVu13yp9OYiD5ijHwOeWj20vnw= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108135] New: Modula2 meets clang Date: Thu, 15 Dec 2022 19:26:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D108135 Bug ID: 108135 Summary: Modula2 meets clang Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- A build of gcc trunk with clang produces the following: ./../../../trunk.d1/libgm2/libm2min/../../gcc/m2/gm2-libs-min/libc.c:27:6: warning: conflicting types for built-in function =E2=80=98abort=E2=80=99; e= xpected =E2=80=98void(void)=E2=80=99 [-Wbuiltin-declaration-mismatch] ../../trunk.d1/gcc/m2/gm2-gcc/m2statement.cc:88:1: warning: function 'gm2_gimplify_function_node' is not needed and will not be emitted [-Wunneeded-internal-declaration] ../../trunk.d1/gcc/m2/m2.flex:135:45: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] ../../trunk.d1/gcc/m2/m2pp.cc:554:1: warning: function 'hextree' is not nee= ded and will not be emitted [-Wunneeded-internal-declaration] ../../trunk.d1/gcc/m2/mc-boot/GDynamicStrings.c:1877:44: warning: self-comparison always evaluates to false [-Wtautological-compare] ../../trunk.d1/gcc/m2/mc-boot/GDynamicStrings.c:1882:44: warning: self-comparison always evaluates to false [-Wtautological-compare] ../../trunk.d1/gcc/m2/pge-boot/GDynamicStrings.c:1880:44: warning: self-comparison always evaluates to false [-Wtautological-compare] ../../trunk.d1/gcc/m2/pge-boot/GDynamicStrings.c:1885:44: warning: self-comparison always evaluates to false [-Wtautological-compare] m2/gm2-compiler-boot/M2GCCDeclare.c:5403:13: warning: function 'AddSymToWat= ch' is not needed and will not be emitted [-Wunneeded-internal-declaration] m2/gm2-compiler-boot/M2Quads.c:10267:16: warning: variable 'Dim' set but not used [-Wunused-but-set-variable] m2/gm2-compiler-boot/M2Quads.c:18370:54: warning: unused parameter 'withTok' [-Wunused-parameter] m2/gm2-libs-boot/DynamicStrings.c:1877:44: warning: self-comparison always evaluates to false [-Wtautological-compare] m2/gm2-libs-boot/DynamicStrings.c:1882:44: warning: self-comparison always evaluates to false [-Wtautological-compare]=