[PATCH] D88504: [flang][msvc] Workaround 'forgotten' symbols FoldOperation. NFC.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 15:29:15 PDT 2020


Meinersbur added a comment.

`/Zc:lambda` fixes D88052 <https://reviews.llvm.org/D88052> and this compiler bug.  This flag was actually suggested by Microsoft in the msvc bug report for D88052 <https://reviews.llvm.org/D88052>.

I created all the reviews to compile flang with msvc (some tests are failing though), these two are the only patches necessary to compile without `/Zc:lambda`. I am happy to create patch that adds `/Zc:lambda` when compiling flang if needed, but considering that its state of support is unclear to me, I am not sure whether it is worth it over two smaller workarounds. I would also have to check that whether other problems appear when compiling all of flang with that flag.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88504/new/

https://reviews.llvm.org/D88504



More information about the llvm-commits mailing list