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

Michael Kruse via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Sep 29 20:41:07 PDT 2020


Meinersbur added a comment.

Indeed, switchin on `/Zc:lambda` globally results in a different compile failure:

  flang\lib\Evaluate\intrinsics-library-templates.h(199,63): error C2664: 'Fortran::evaluate::value::Real<Fortran::evaluate::value::Integer<64,fal
  se,32,unsigned int,unsigned __int64>,53> (Fortran::evaluate::FoldingContext &,Fortran::evaluate::GenericFunctionPointer,const Fortran::evaluate::value::Real<Fortran::evaluate::value
  ::Integer<64,false,32,unsigned int,unsigned __int64>,53> &,const Fortran::evaluate::value::Real<Fortran::evaluate::value::Integer<64,false,32,unsigned int,unsigned __int64>,53> &)':
   cannot convert argument 3 from 'const ConstantContainer<T>' to 'const Fortran::evaluate::value::Real<Fortran::evaluate::value::Integer<64,false,32,unsigned int,unsigned __int64>,53
  > &'
            with
            [
                T=Fortran::evaluate::Type<Fortran::common::TypeCategory::Real,8>
            ]
  flang\lib\Evaluate\intrinsics-library-templates.h(173,36): message : Reason: cannot convert from 'const ConstantContainer<T>' to 'const Fortran:
  :evaluate::value::Real<Fortran::evaluate::value::Integer<64,false,32,unsigned int,unsigned __int64>,53>'
            with
            [
                T=Fortran::evaluate::Type<Fortran::common::TypeCategory::Real,8>
            ]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88504



More information about the flang-commits mailing list