[llvm-bugs] [Bug 45133] ICE with union member change in constexpr during function call to initialize union member

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 17 20:41:00 PDT 2020


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |llvmorg-11-init-6058-ge7a81
                   |                            |1b3193
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Crash fixed for now by disallowing changing the active member of a union while
in the process of initializing a different member of the same union. If we come
up with a better language rule we can implement that instead.

-- 
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/20200318/80d2cd18/attachment.html>


More information about the llvm-bugs mailing list