Anonymous user
Talk:Short-circuit evaluation: Difference between revisions
→Compiler optimisations?
Line 79:
:I think that for this task, if it is not a feature of the language then this should be noted, especially if it can legitimately become a feature of a compiler or is a feature of a popular compiler. If you know that you are depending on a feature of particular compilers/compiler optimisation settings then this should be stated. You can also do a nested-if solution for the general case. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:27, 2 May 2015 (UTC)
::See [https://software.intel.com/fr-fr/forums/topic/282534 this discussion] about Intel Fortran and its ancestors VAX Fortran and Compaq Visual Fortran, and why it's indeed a good thing _not_ to have short-circuit evaluation. I don't know a compiler that would provide this as an option, however my experience is limited to gfortran and the commercial compilers of Intel and Absoft, and even with these I may have missed an option.
|