[flang-commits] [flang] [flang] fix flang builds with clang 20 after #100692 (PR #106718)

David Truby via flang-commits flang-commits at lists.llvm.org
Fri Aug 30 06:42:37 PDT 2024


https://github.com/DavidTruby approved this pull request.

I think the change looks fine to fix the bots, but I don't see anything wrong with the existing code myself. 
At a glance I suspect we're hitting some ordering issue between overloads 1-4 and A-C as listed here: https://en.cppreference.com/w/cpp/numeric/complex/pow 
I'm not even clear whether 1-4 should be considered more specialised than A-C here, but I feel that they should be!

I agree you should go ahead and merge this to make the bots green again while we find out more though.

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


More information about the flang-commits mailing list