Implementation notes: mipso32, gcc23, crypto_kem/frodokem640

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

Compiler output

Implementation: T:optimized
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
frodo640.c: In file included from frodo640.c:30:0:
frodo640.c: kem.inc: In function 'crypto_kem_frodokem640_optimized_timingleaks_dec':
frodo640.c: kem.inc:132:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < PARAMS_N*PARAMS_NBAR; i++) BBp[i] = BBp[i] & ((1 << PARAMS_LOGQ)-1);
frodo640.c: ^
frodo640.c: kem.inc:132:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
frodo640.c: In file included from frodo640.c:32:0:
frodo640.c: frodo_macrify.inc: In function 'frodo_add':
frodo640.c: frodo_macrify.inc:222:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo640.c: ^
frodo640.c: frodo_macrify.inc: In function 'frodo_sub':
frodo640.c: frodo_macrify.inc:233:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo640.c: ^

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

Compiler output

Implementation: T:reference
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
frodo640.c: In file included from frodo640.c:30:0:
frodo640.c: kem.inc: In function 'crypto_kem_frodokem640_reference_timingleaks_dec':
frodo640.c: kem.inc:132:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < PARAMS_N*PARAMS_NBAR; i++) BBp[i] = BBp[i] & ((1 << PARAMS_LOGQ)-1);
frodo640.c: ^
frodo640.c: kem.inc:132:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
frodo640.c: In file included from frodo640.c:32:0:
frodo640.c: frodo_macrify_reference.inc: In function 'frodo_add':
frodo640.c: frodo_macrify_reference.inc:157:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo640.c: ^
frodo640.c: frodo_macrify_reference.inc: In function 'frodo_sub':
frodo640.c: frodo_macrify_reference.inc:168:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo640.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo640.c: ^

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