Implementation notes: mipso32, gcc23, crypto_kem/threebears624r2cca

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_kem
Primitive: threebears624r2cca

Compiler output

Implementation: lowmem
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
melas_fec.c: melas_fec.c: In function 's18update':
melas_fec.c: melas_fec.c:10:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<len; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c:10:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
melas_fec.c: melas_fec.c: In function 'pqcrypto_kem_threebears624r2cca_impl_priv_melas_fec_set':
melas_fec.c: melas_fec.c:26:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<3; i++, fec>>=8) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'mul2':
melas_fec.c: melas_fec.c:34:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<9; i++) {
melas_fec.c: ^

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE lowmem
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE vec
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE vec

Compiler output

Implementation: ref
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
melas_fec.c: melas_fec.c: In function 's18update':
melas_fec.c: melas_fec.c:16:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<len; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c:16:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
melas_fec.c: melas_fec.c: In function 'pqcrypto_kem_threebears624r2cca_impl_priv_melas_fec_set':
melas_fec.c: melas_fec.c:29:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<MELAS_FEC_BYTES; i++, fec>>=8) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'mul':
melas_fec.c: melas_fec.c:37:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<9; i++) {
melas_fec.c: ^
melas_fec.c: melas_fec.c: In function 'reverse18':
melas_fec.c: melas_fec.c:47:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
melas_fec.c: for (unsigned i=0; i<18; i++) {
melas_fec.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref