Open StephanTLavavej opened 1 year ago
is this also /clr
bug https://github.com/microsoft/STL/issues/139 ?
Yes, thank you (especially for the fully reduced repro). I've added it to the list and tagged the internal bug as "STL-requested"; it is already assigned to our /clr
compiler dev.
This issue tracks
/clr
compiler bugs that we need fixes for./clr /std:c++20
was first supported (excluding modules) in VS 2022 17.6.Legend
Bugs
[[msvc::noop_dtor]]
doesn't seem to work for/clr
MarshalCopy
/clr
atomic
andthread
emit error C2711 "this function cannot be compiled as managed" instead of falling back to native codegen/clr
emits bogus error C2079 "uses undefined struct 'Incomplete'" despitestd::variant
's ADL defenses/clr
runtime hang when callingstd::async
in a global variable's constructor/clr
rejects the__ceilf
/__floorf
intrinsics with error LNK2020/LNK2001 instead of accepting or falling back to native codegen/clr
C++20 chk assertion failed:rhs.is_lvalue()
in constexpr.cpp/clr
C++20 System.NullReferenceException when calling ranges algorithms with PMD projections/clr
C++20 emits bogus error C2127 "illegal initialization of 'constinit
' entity with a non-constant expression"/clr
C++20 silent bad codegen forcomplex<float>
division/clr
C++20 backend ICE withcounted_iterator
's_Same_sequence
/clr
C++20 incorrectly reportsinput_iterator
etc. concepts as being true for 'bad' iterators/clr
C++20 has incorrect results for various ranges concepts inP0896R4_ranges_iterator_machinery
/clr
C++20 silent bad codegen forbit_cast<float>(nan_uint)
/clr
C++20 x64/O2
backend assertionSY_ISUSERVAR(sym) || SY_ISARGUMENT(sym)
/clr
alignas
emits fatal error C1193: an error expected in yyaction.cpp(2971) not reached/clr
C++20alignas
with defaulted SMFs emits fatal error C1193: an error expected in ...\yyaction.cpp(2976) not reached/clr /std:c++20 /Od
backend ICE for parallelstd::find_end
/clr /std:c++20
rejects sneaky technique to access private data members/clr
C++20 can't handlestruct MoveOnlyFunctor
defined in a function template, emitting fatal error C1193: an error expected in yyaction.cpp(2899) not reachedFixed
constexpr
time in/clr
triggers internal compiler error/clr
C++20 rejects<coroutine>
with error C3861 "'__builtin_coro_done
': identifier not found" instead of falling back to native codegenpSTI->length == strlen(pSTI->szName) + 1
under/clr
/clr
/std:c++17
ICE withint = 0
SFINAE/clr
C++20 rejects P0428R2 Familiar template syntax for generic lambdas/clr
C++20 emits bogus error C2131 'expression did not evaluate to a constant' when a lambda tests aconstexpr
variable defined outside/clr
C++20source_location
has incorrect column information within a lambda/clr
C++20alignas
emits error C3821 'managed type or function cannot be used in an unmanaged function' instead of falling back to native codegen/clr
alignas
emits error C2711 "this function cannot be compiled as managed" instead of falling back to native codegen/clr
C++20 x64 System.AccessViolationException withviews::iota
andviews::transform
/clr
System.AccessViolationException with parallelstd::mismatch
/clr
C++20 System.AccessViolationException with ranges uninitialized algorithms/clr
C++20 x86 System.AccessViolationException withatomic<shared_ptr>
/clr
x86 runtime assertions/crashes with parallel algorithms/clr
silent bad codegen withstd::_Signed128
multiplication/clr
C++20 x86 System.AccessViolationException withatomic<with_padding_bits<8>>
Not Reproducible
std::literals::_Int128_literals
': non-inline namespace cannot be reopened as inline