Compile using either of:
./compile_gnu
and you should get the result:
3 T F
true -> false
3 F T
false -> true
Done.
Now compile using Intel:
./compile_intel
and you get the result:
3 T F
true -> true
3 F T
false -> true
Done.
Which is incorrect. Enable -fpscomp logical
in compile_intel, recompile, then you get:
3 T F
true -> false
3 F T
false -> true
Done.
With the latest XLF AIX 14.1 compiler and the XLC AIX 12.1 compiler, without any additional option required, it produces
3 T F
true -> false
3 F T
false -> true
Done.