Implementation notes: amd64, speed2supercop, crypto_dh/ecfp256i

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: ecfp256i
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
83314089722 0 8103820 832 1568T:v01/varclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
83380484573 0 899493 824 1632T:v01/varclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
837140123518 0 8141099 832 1600T:v01/varclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
837688121188 0 8138627 832 1600T:v01/varclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
839344113025 0 8129756 832 1568T:v01/varclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
89188080601 0 894651 792 1664T:v01/vargcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
89585250206 0 864707 792 1664T:v01/vargcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
91420048832 0 863155 792 1664T:v01/vargcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625
92555639166 0 852595 784 1632T:v01/vargcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070420240625

Test failure


error 111
crypto_dh_keypair writes after output

Number of similar (implementation,compiler) pairs: 36, 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))
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)
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))
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)
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))
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)
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))
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)

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_256i.c: In file included from ec_fp_256i.c:16:
ec_fp_256i.c: In file included from ./finite256.h:24:
ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.c:                            ^
ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ec_fp_256i.c:22:13: warning: unused function 'ec_fp_set_1_256Ima' [-Wunused-function]
ec_fp_256i.c: static void ec_fp_set_1_256Ima(uni S3, uni C3, uni D3, uni Z3, uni U3, uni V3, const uni_t S1, const uni_t C1, const uni_t D1, const uni_t Z1, const uni_t U1, const uni_t V1){
ec_fp_256i.c:             ^
ec_fp_256i.c: 5 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_256i.c: In file included from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: In file included from ./finite256.h:24:
try_ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256i.c:                            ^
try_ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256i.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_256i.c: In file included from crympix.h:30,
ec_fp_256i.c:                  from ec_fp_256i.c:15:
ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256i.c:       | ^
ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256i.c:       | ^
ec_fp_256i.c: ec_fp_256i.c:22:13: warning: 'ec_fp_set_1_256Ima' defined but not used [-Wunused-function]
ec_fp_256i.c:    22 | static void ec_fp_set_1_256Ima(uni S3, uni C3, uni D3, uni Z3, uni U3, uni V3, const uni_t S1, const uni_t C1, const uni_t D1, const uni_t Z1, const uni_t U1, const uni_t V1){
ec_fp_256i.c:       |             ^~~~~~~~~~~~~~~~~~
ec_fp_256i.c: In file included from finite256.h:24,
ec_fp_256i.c:                  from ec_fp_256i.c:16:
ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:       |                    ^~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:13:28: warning: 'fp_is0_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.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_256i.c: In file included from crympix.h:30,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:2:
try_ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: In file included from finite256.h:24,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~~~
try_ec_fp_256i.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_256i.c: In file included from ec_fp_256i.c:16:
ec_fp_256i.c: In file included from ./finite256.h:24:
ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.c:                            ^
ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: 4 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_256i.c: try_ec_fp_256i.c:29:2: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:         ^
try_ec_fp_256i.c: ./ec_fp_256i.h:776:4: note: expanded from macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c: }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:    ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: In file included from ./finite256.h:24:
try_ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256i.c:                            ^
try_ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256i.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_256i.c: In file included from crympix.h:30,
ec_fp_256i.c:                  from ec_fp_256i.c:15:
ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256i.c:       | ^
ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256i.c:       | ^
ec_fp_256i.c: In file included from finite256.h:24,
ec_fp_256i.c:                  from ec_fp_256i.c:16:
ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:       |                    ^~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:13:28: warning: 'fp_is0_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.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_256i.c: In file included from crympix.h:30,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:2:
try_ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:4:
try_ec_fp_256i.c: try_ec_fp_256i.c: In function 'crypto_dh_ecfp256i_v01_w8s1_timingleaks_keypair':
try_ec_fp_256i.c: ec_fp_256i.h:776:4: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:   776 | }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:       |    ^~~
try_ec_fp_256i.c: try_ec_fp_256i.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c:    29 |         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256i.c: In file included from finite256.h:24,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: fp_256x8664.h: At top level:
try_ec_fp_256i.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.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_256i.c: In file included from ec_fp_256i.c:16:
ec_fp_256i.c: In file included from ./finite256.h:24:
ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.c:                            ^
ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: 4 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_256i.c: try_ec_fp_256i.c:29:2: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:         ^
try_ec_fp_256i.c: ./ec_fp_256i.h:1544:4: note: expanded from macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c: }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:    ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: In file included from ./finite256.h:24:
try_ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256i.c:                            ^
try_ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256i.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_256i.c: In file included from crympix.h:30,
ec_fp_256i.c:                  from ec_fp_256i.c:15:
ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256i.c:       | ^
ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256i.c:       | ^
ec_fp_256i.c: In file included from finite256.h:24,
ec_fp_256i.c:                  from ec_fp_256i.c:16:
ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:       |                    ^~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:13:28: warning: 'fp_is0_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.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_256i.c: In file included from crympix.h:30,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:2:
try_ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:4:
try_ec_fp_256i.c: try_ec_fp_256i.c: In function 'crypto_dh_ecfp256i_v01_w8s2_timingleaks_keypair':
try_ec_fp_256i.c: ec_fp_256i.h:1544:4: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:  1544 | }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:       |    ^~~
try_ec_fp_256i.c: try_ec_fp_256i.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c:    29 |         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256i.c: In file included from finite256.h:24,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: fp_256x8664.h: At top level:
try_ec_fp_256i.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.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_256i.c: In file included from ec_fp_256i.c:16:
ec_fp_256i.c: In file included from ./finite256.h:24:
ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.c:                            ^
ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: 4 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_256i.c: try_ec_fp_256i.c:29:2: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:         ^
try_ec_fp_256i.c: ./ec_fp_256i.h:3080:4: note: expanded from macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c: }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:    ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: In file included from ./finite256.h:24:
try_ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256i.c:                            ^
try_ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256i.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_256i.c: In file included from crympix.h:30,
ec_fp_256i.c:                  from ec_fp_256i.c:15:
ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256i.c:       | ^
ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256i.c:       | ^
ec_fp_256i.c: In file included from finite256.h:24,
ec_fp_256i.c:                  from ec_fp_256i.c:16:
ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:       |                    ^~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:13:28: warning: 'fp_is0_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.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_256i.c: In file included from crympix.h:30,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:2:
try_ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:4:
try_ec_fp_256i.c: try_ec_fp_256i.c: In function 'crypto_dh_ecfp256i_v01_w8s4_timingleaks_keypair':
try_ec_fp_256i.c: ec_fp_256i.h:3080:4: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:  3080 | }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:       |    ^~~
try_ec_fp_256i.c: try_ec_fp_256i.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c:    29 |         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256i.c: In file included from finite256.h:24,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: fp_256x8664.h: At top level:
try_ec_fp_256i.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.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_256i.c: In file included from ec_fp_256i.c:16:
ec_fp_256i.c: In file included from ./finite256.h:24:
ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.c:                            ^
ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256i.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:                    ^
ec_fp_256i.c: 4 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_256i.c: try_ec_fp_256i.c:29:2: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:         ^
try_ec_fp_256i.c: ./ec_fp_256i.h:6152:4: note: expanded from macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c: }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:    ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: In file included from ./finite256.h:24:
try_ec_fp_256i.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256i.c:                            ^
try_ec_fp_256i.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256i.c:                    ^
try_ec_fp_256i.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256i.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256i.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_256i.c: In file included from crympix.h:30,
ec_fp_256i.c:                  from ec_fp_256i.c:15:
ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256i.c:       | ^
ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256i.c:       | ^
ec_fp_256i.c: In file included from finite256.h:24,
ec_fp_256i.c:                  from ec_fp_256i.c:16:
ec_fp_256i.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256i.c:   211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256i.c:       |                    ^~~~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256i.c:       |                    ^~~~~~~~~~
ec_fp_256i.c: fp_256x8664.h:13:28: warning: 'fp_is0_256' defined but not used [-Wunused-function]
ec_fp_256i.c:    13 | static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256i.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_256i.c: In file included from crympix.h:30,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:2:
try_ec_fp_256i.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256i.c:    95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256i.c:       | ^
try_ec_fp_256i.c: In file included from try_ec_fp_256i.c:4:
try_ec_fp_256i.c: try_ec_fp_256i.c: In function 'crypto_dh_ecfp256i_v01_w8s8_timingleaks_keypair':
try_ec_fp_256i.c: ec_fp_256i.h:6152:4: warning: unused variable 'un0' [-Wunused-variable]
try_ec_fp_256i.c:  6152 | }, un0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256i.c:       |    ^~~
try_ec_fp_256i.c: try_ec_fp_256i.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256I_CACHE'
try_ec_fp_256i.c:    29 |         EC_FP_SMULBASE_256I_CACHE;
try_ec_fp_256i.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256i.c: In file included from finite256.h:24,
try_ec_fp_256i.c:                  from try_ec_fp_256i.c:3:
try_ec_fp_256i.c: fp_256x8664.h: At top level:
try_ec_fp_256i.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256i.c:   393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256i.c:       |                    ^~~~~~~~~~
try_ec_fp_256i.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)