[flang-commits] [flang] [flang] GETUID runtime and lowering intrinsics (PR #71689)
Yi Wu via flang-commits
flang-commits at lists.llvm.org
Thu Nov 9 09:16:50 PST 2023
PAX-12-WU wrote:
> > LGTM.
> > I think on Windows we should just error if this function gets called, preferably in semantics, but that's outside the scope of this patch. Perhaps add an assert that fails on Win32 for now?
>
> I suppose on a second thought that might cause a lot of applications to fail for minor reasons. What does gfortran do here, does it just return 0 like this patch does currently?
Let me check gfortran's repo, it won't compile on windows with error like
```
undefined reference to `_gfortran_getgid'
error: ld returned 1 exit status
```
https://github.com/llvm/llvm-project/pull/71689
More information about the flang-commits
mailing list