[flang-commits] [flang] [flang] GETUID runtime and lowering intrinsics (PR #71689)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Fri Nov 10 09:06:56 PST 2023


PAX-12-WU wrote:

> That's not a very nice error! If gfortran doesn't compile it I think I was correct the first time; for now I think just returning 0 is fine (maybe adding an assert too) but we should add a semantic check that gives a compile error on Windows targets at some point (not in this patch though).

I added a `assert(false && "Unimplemented on Windows OS");` Not sure if this is the appropriate way, would a `printf` be better? at least it won't force terminate the program. 

https://github.com/llvm/llvm-project/pull/71689


More information about the flang-commits mailing list