3 ms·
Probably the real difference is that Fortran compiler culture is to do the right thing for UB rather than screwing over the programmer.
by lmm 4y ago
Probably the real difference is that Fortran compiler culture is to do the right thing for UB rather than screwing over the programmer.
- int_19h 4y agoWhat would the "right thing" be in this case, in cases where the compiler cannot detect at compile-time? Will it actually check all variables in scope for aliasing when entering the function?
- lmm 4y agoIf your pointers turn out to overlap then maybe you get "impossible" stale reads or something, but you don't get demons flying out of your nose like in C.