[llvm-bugs] [Bug 48254] Various programs fail in ~SmallVectorImpl with Visual Studio

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 22 09:22:22 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=48254

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Reid Kleckner <rnk at google.com> ---
I think we can close this. I updated VS and followed the repro instructions
from the MSVC bug:
https://developercommunity.visualstudio.com/t/msvc-copies-overaligned-non-trivially-copyable-par/1179643
... and things seem to work now at this version:

$ cl -GS- t.cpp  && ./t.exe
Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29914 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

t.cpp
Microsoft (R) Incremental Linker Version 14.28.29914.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:t.exe
t.obj
w.self 0041F908


The Visual Studio version is 16.9.4. I think this was always just an MSVC bug
and they fixed it, although they neglected to specify which compiler version
received the fix.

Separately, now I want to try an x86 msvc debug build to see if I can repro
these ICEs. :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210422/3221d7ae/attachment.html>


More information about the llvm-bugs mailing list