[all-commits] [llvm/llvm-project] d2b012: [Clang][CodeGen] Enable pointer overflow check for...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu May 8 23:53:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2b012e3913a56d3cb2d9798bf77dc2599148dfb
      https://github.com/llvm/llvm-project/commit/d2b012e3913a56d3cb2d9798bf77dc2599148dfb
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c

  Log Message:
  -----------
  [Clang][CodeGen] Enable pointer overflow check for GCC workaround (#137849)

Do not suppress the pointer overflow check for the `(i8*) nullptr + N`
idiom.

Related issue: https://github.com/llvm/llvm-project/issues/137833



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