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.
Compiling with Cray:
Results with Cray: