https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89039
--- Comment #2 from Jakub Benda <albandil at atlas dot cz> --- The quotation from the manual > Any other integer value results in undefined behavior. is very explicit. Also, I see that using ifort -fpscomp logicals will make ifort compatible with the rest of the world in this regard, so I agree that the proper flag for this report is INVALID. Thanks!