The 64-bit SCC V 3.78 compiler gives many false warnings for code containing if-then-else and switch statements.
#include <stdio.h>
int main(void){
int i,j;
i=11;
if(i > 5)j=3; else j=4;
if(i < 7)j=j*2;
printf('%d %d\n',i,j);
}
Compile:
s:\LANG>scc /64 cbug.c
Compiler says:
[Silverfrost SCC/WIN32 Ver 3.88 Copyright (c) Silverfrost Ltd 2016] 0006 if(i > 5)j=3; else j=4; WARNING - This statement will never be executed NO ERRORS, 1 WARNING [<CBUG> SCC/WIN32 Ver 3.88]