[all-commits] [llvm/llvm-project] 6e708e: Revert "[Clang] Allow devirtualization involving a...

Hans Wennborg via All-commits all-commits at lists.llvm.org
Wed Jul 15 03:07:51 PDT 2026


  Branch: refs/heads/release/23.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e708e7d66bb2c8daee1334068190c3138ca20ee
      https://github.com/llvm/llvm-project/commit/6e708e7d66bb2c8daee1334068190c3138ca20ee
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M clang/lib/AST/DeclCXX.cpp
    M clang/test/CXX/drs/cwg15xx.cpp
    M clang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  Revert "[Clang] Allow devirtualization involving array subscripts with constant indices when the pointee type is known [CWG1504] (#207540) (#209596)

It caused miscompiles, see discussion on the PR.

This reverts commit ee24ac00d874ce82eaf36431f9aeb2ad744bc3b8.

(cherry picked from commit 04aa50715cafa5f205b44bc88a6f721d296ec91c)



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