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

            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 ‘abort’; expected ‘void(void)’
[-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 needed
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 'AddSymToWatch'
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]

Reply via email to