Implementation notes: mipso32, gcc23, crypto_kem/lima2p2048cca

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

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
fft.c: fft.c: In function 'reverse':
fft.c: fft.c:12:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: for (int i = 0; i < length - 1; i++)
fft.c: ^
fft.c: fft.c:12:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
fft.c: fft.c: In function 'fft_sub_1':
fft.c: fft.c:41:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: for (int s = logLength - 1; s >= 0; s--)
fft.c: ^
fft.c: fft.c:44:14: error: redefinition of 's'
fft.c: for (int s = 1; s <= logLength; s++)
fft.c: ^
fft.c: fft.c:41:12: note: previous definition of 's' was here
fft.c: for (int s = logLength - 1; s >= 0; s--)
fft.c: ^
fft.c: fft.c:44:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: for (int s = 1; s <= logLength; s++)
fft.c: ^
fft.c: fft.c:51:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: for (int k = 0; k < N; k += m)
fft.c: ^
fft.c: fft.c:53:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: for (int j = 0; j < h; j++)
fft.c: ^
fft.c: fft.c:68:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
fft.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
lima.c: lima.c: In function 'RandCheck':
lima.c: lima.c:80:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
lima.c: for (int i=0; i<N; i++)
lima.c: ^
lima.c: lima.c:80:4: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
lima.c: lima.c:88:8: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
lima.c: for (int i=0; i<N; i++)
lima.c: ^
lima.c: lima.c:96:8: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
lima.c: for (int k=0; k<N; k++)
lima.c: ^
lima.c: lima.c:98:12: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
lima.c: for (int i=0; i<k; i++) { e+=t[i]; }
lima.c: ^
lima.c: lima.c:99:21: error: redefinition of 'i'
lima.c: for (int i=1; i<N; i++) { e+=t[i]; }
lima.c: ^
lima.c: lima.c:98:21: note: previous definition of 'i' was here
lima.c: for (int i=0; i<k; i++) { e+=t[i]; }
lima.c: ^
lima.c: lima.c:99:12: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
lima.c: for (int i=1; i<N; i++) { e+=t[i]; }
lima.c: ^
lima.c: lima.c:100:21: error: redefinition of 'i'
lima.c: for (int i=k+2; i<N; i++) { e+=t[i]; }
lima.c: ...

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