[all-commits] [llvm/llvm-project] ac47ed: [clang][Interp] Only zero-init first union member ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Aug 10 06:25:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac47edd8a9dadc15aa7b6557e3ac03512aa1cf6f
      https://github.com/llvm/llvm-project/commit/ac47edd8a9dadc15aa7b6557e3ac03512aa1cf6f
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/test/AST/Interp/records.cpp
    M clang/test/AST/Interp/unions.cpp

  Log Message:
  -----------
  [clang][Interp] Only zero-init first union member (#102744)

Zero-initializing all of them accidentally left the last member active.
Only initialize the first one.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list