Implementation notes: amd64, speed2supercop, crypto_dh/ecfp256e

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: ecfp256e
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
488160233278 0 8248189 824 1632T:v01/w8s8clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
489200277555 0 8295155 832 1600T:v01/w8s8clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
490356270399 0 8287787 832 1600T:v01/w8s8clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
490392238794 0 8252852 832 1568T:v01/w8s8clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
492304167742 0 8182653 824 1632T:v01/w8s4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
493152267014 0 8283684 832 1568T:v01/w8s8clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
494812212035 0 8229619 832 1600T:v01/w8s4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
495632207167 0 8224579 832 1600T:v01/w8s4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
495756173258 0 8187316 832 1568T:v01/w8s4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
495788201494 0 8218212 832 1568T:v01/w8s4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
501232134984 0 8149885 824 1632T:v01/w8s2clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
503776185790 0 8203379 832 1600T:v01/w8s2clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
504520172818 0 8190211 832 1600T:v01/w8s2clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
506024140490 0 8154548 832 1568T:v01/w8s2clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
506192175317 0 8192036 832 1568T:v01/w8s2clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
512000215744 0 8229739 792 1664T:v01/w8s8gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
517260149300 0 8163299 792 1664T:v01/w8s4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
522624118492 0 8133373 824 1632T:v01/w8s1clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
523572162750 0 8180339 832 1600T:v01/w8s1clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
524692181294 0 8195755 792 1664T:v01/w8s8gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
524780155583 0 8172971 832 1600T:v01/w8s1clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
524784123985 0 8138036 832 1568T:v01/w8s1clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
525768115386 0 8129419 792 1664T:v01/w8s2gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
526024152176 0 8168868 832 1568T:v01/w8s1clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
529092115743 0 8130219 792 1664T:v01/w8s4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
531208170034 0 8183411 784 1632T:v01/w8s8gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
531948179393 0 8193667 792 1664T:v01/w8s8gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
536032104495 0 8117875 784 1632T:v01/w8s4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
536200113821 0 8128067 792 1664T:v01/w8s4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
53898882973 0 897483 792 1664T:v01/w8s2gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
54193681051 0 895299 792 1664T:v01/w8s2gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
54682871726 0 885107 784 1632T:v01/w8s2gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
54736098697 0 8112683 792 1664T:v01/w8s1gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
56223266477 0 880939 792 1664T:v01/w8s1gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
56728455295 0 868723 784 1632T:v01/w8s1gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
56824864575 0 878851 792 1664T:v01/w8s1gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
79578495981 0 8110877 824 1632T:v01/varclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
795844132708 0 8150091 832 1600T:v01/varclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
797460134214 0 8151787 832 1600T:v01/varclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
799316101370 0 8115412 832 1568T:v01/varclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
799848123849 0 8140508 832 1568T:v01/varclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
84002880785 0 894779 792 1664T:v01/vargcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
85201249072 0 863555 792 1664T:v01/vargcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
86196047870 0 862107 792 1664T:v01/vargcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625
87485238581 0 851987 784 1632T:v01/vargcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070320240625

Compiler output


alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c:                            ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: unused function 'ec_fp_dbl_256Ee' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c:             ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:             ^
ec_fp_256e.c: 7 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c:                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c:                     ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c:                            ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:               ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                    ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                         ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                              ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                   ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                        ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                             ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                                  ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c:         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c:                  ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c:                 if((buf[i] == -1)){
io.c:                     ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c:                 if((buf[i] == -1)){
io.c:                    ~       ^    ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c:                 if((buf[i] == -1)){
io.c:                            ^~
io.c:                            =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c:                            ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:v01/varclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/varclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/varclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/varclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/varclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    79 |                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    94 |                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:   110 |                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c:       | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c:       | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c:                  from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c:       | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c:       | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c:   100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: 'ec_fp_dbl_256Ee' defined but not used [-Wunused-function]
ec_fp_256e.c:    81 | static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c:                  from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c:    44 |                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:       |                         |
error.c:       |                         char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c:    29 | void kn_exit(sic_t *s, uni_t code)
error.c:       |              ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c:                  from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c:       | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c:       | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c:                  from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c:   437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c:       | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c:       | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                              ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                    ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                            ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                       ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                  ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c:       | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c:       | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c:   551 |         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c:       |                 |
integer_lo.c:       |                 char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c:   132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c:       |              ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   340 |                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                         |
io.c:       |                         char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   350 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   353 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~~~
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:v01/vargcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/vargcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/vargcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/vargcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c:                            ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:             ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c:                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c:                     ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c:                            ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:               ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                    ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                         ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                              ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                   ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                        ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                             ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                                  ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c:         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c:                  ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c:                 if((buf[i] == -1)){
io.c:                     ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c:                 if((buf[i] == -1)){
io.c:                    ~       ^    ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c:                 if((buf[i] == -1)){
io.c:                            ^~
io.c:                            =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:         ^
try_ec_fp_256e.c: ./ec_fp_256e.h:519:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:    ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c:                            ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:v01/w8s1clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s1clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s1clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s1clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s1clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    79 |                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    94 |                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:   110 |                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c:       | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c:       | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c:                  from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c:       | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c:       | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c:   100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c:                  from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c:    44 |                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:       |                         |
error.c:       |                         char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c:    29 | void kn_exit(sic_t *s, uni_t code)
error.c:       |              ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c:                  from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c:       | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c:       | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c:                  from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c:   437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c:       | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c:       | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                              ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                    ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                            ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                       ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                  ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c:       | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c:       | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c:   551 |         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c:       |                 |
integer_lo.c:       |                 char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c:   132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c:       |              ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   340 |                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                         |
io.c:       |                         char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   350 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   353 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s1_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:519:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:   519 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:       |    ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c:    29 |         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:v01/w8s1gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s1gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s1gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s1gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c:                            ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:             ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c:                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c:                     ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c:                            ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:               ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                    ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                         ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                              ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                   ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                        ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                             ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                                  ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c:         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c:                  ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c:                 if((buf[i] == -1)){
io.c:                     ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c:                 if((buf[i] == -1)){
io.c:                    ~       ^    ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c:                 if((buf[i] == -1)){
io.c:                            ^~
io.c:                            =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:         ^
try_ec_fp_256e.c: ./ec_fp_256e.h:1031:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:    ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c:                            ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:v01/w8s2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    79 |                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    94 |                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:   110 |                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c:       | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c:       | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c:                  from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c:       | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c:       | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c:   100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c:                  from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c:    44 |                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:       |                         |
error.c:       |                         char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c:    29 | void kn_exit(sic_t *s, uni_t code)
error.c:       |              ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c:                  from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c:       | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c:       | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c:                  from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c:   437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c:       | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c:       | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                              ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                    ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                            ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                       ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                  ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c:       | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c:       | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c:   551 |         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c:       |                 |
integer_lo.c:       |                 char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c:   132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c:       |              ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   340 |                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                         |
io.c:       |                         char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   350 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   353 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s2_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:1031:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:  1031 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:       |    ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c:    29 |         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:v01/w8s2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c:                            ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:             ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c:                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c:                     ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c:                            ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:               ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                    ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                         ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                              ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                   ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                        ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                             ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                                  ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c:         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c:                  ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c:                 if((buf[i] == -1)){
io.c:                     ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c:                 if((buf[i] == -1)){
io.c:                    ~       ^    ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c:                 if((buf[i] == -1)){
io.c:                            ^~
io.c:                            =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:         ^
try_ec_fp_256e.c: ./ec_fp_256e.h:2055:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:    ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c:                            ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:v01/w8s4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    79 |                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    94 |                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:   110 |                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c:       | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c:       | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c:                  from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c:       | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c:       | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c:   100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c:                  from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c:    44 |                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:       |                         |
error.c:       |                         char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c:    29 | void kn_exit(sic_t *s, uni_t code)
error.c:       |              ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c:                  from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c:       | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c:       | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c:                  from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c:   437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c:       | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c:       | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                              ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                    ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                            ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                       ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                  ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c:       | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c:       | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c:   551 |         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c:       |                 |
integer_lo.c:       |                 char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c:   132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c:       |              ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   340 |                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                         |
io.c:       |                         char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   350 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   353 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s4_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:2055:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:  2055 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:       |    ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c:    29 |         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:v01/w8s4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)

Compiler output


alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:                         ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c:                 kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c:                     ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c:                            ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:                    ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:             ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c:                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c:                     ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c:                            ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c:                    ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:               ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                    ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                         ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                              ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                   ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                        ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                             ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:                                                  ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c:         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c:                  ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c:                     ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c:                 if((buf[i] == -1)){
io.c:                     ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c:                 if((buf[i] == -1)){
io.c:                    ~       ^    ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c:                 if((buf[i] == -1)){
io.c:                            ^~
io.c:                            =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c:                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:         ^
try_ec_fp_256e.c: ./ec_fp_256e.h:4103:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:    ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c:                            ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c:                    ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:v01/w8s8clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s8clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s8clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s8clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))
T:v01/w8s8clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1))

Compiler output


alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    79 |                 kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:    94 |                 kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c:   132 | void kn_exit(sic_t *s, uni_t code);
alloc.c:       |              ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c:   110 |                 kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c:       |                         ^~~~~~~~~
alloc.c:       |                         |
alloc.c:       |                         char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c:       | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c:       | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c:                  from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c:       | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c:       | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c:   100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c:       |             ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c:                  from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c:       |                    ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c:   142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c:       |                    ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c:    44 |                 kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:       |                         |
error.c:       |                         char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c:    29 | void kn_exit(sic_t *s, uni_t code)
error.c:       |              ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c:                  from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c:       | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c:       | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c:                  from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c:   437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c:       |                    ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c:       | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c:       | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                              ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c:    68 |         uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c:       |                    ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                            ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                       ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c:       |                                                  ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c:    65 |         uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c:       | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c:       | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c:   551 |         kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c:       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c:       |                 |
integer_lo.c:       |                 char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c:   132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c:       |              ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   340 |                 kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c:       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                         |
io.c:       |                         char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   350 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c:       |              ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c:   353 |                         kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c:       |                                 |
io.c:       |                                 char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c:   132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c:       | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s8_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:4103:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c:  4103 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c:       |    ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c:    29 |         EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c:                  from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c:       |                    ^~~~~~~~~~
try_ec_fp_256e.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:v01/w8s8gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s8gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s8gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)
T:v01/w8s8gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0)