With default options, `ccomp` rejects this strictly conforming C on x86-64: ```c int g(float x) { return (1 ^ (x == 0.0f)) ? 3 : 5; } ``` ``` $ ccomp -c v.c v.c: error: In function g: Asmgen.mk_sel 1 error detected. ``` The same error appears with `-O` and `-Os`. The program compiles with `-O0`, `-fno-cse` or `-fno-if-conversion`. Tested on the v3.18 release (14d61604) and on master (2685140b). Found by differential testing with [Ephyra](https://github.com/datadog-labs/ephyra): generated C programs, CompCert's reference interpreter (`ccomp -interp`) against the compiler (`ccomp -c`).
Activity