]> granicus.if.org Git - clang/commit
Revert 374450 "Fix __builtin_assume_aligned with too large values."
authorNico Weber <nicolasweber@gmx.de>
Thu, 10 Oct 2019 21:34:32 +0000 (21:34 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 10 Oct 2019 21:34:32 +0000 (21:34 +0000)
commitf638ec612bbf3a88c2e3f5c5bbb05557b6aa640e
treebd2fc50b3194f838a51656f8191b7ebd99fb401e
parent726918e196b413bcd80f08494c061fd6b3f26c94
Revert 374450 "Fix __builtin_assume_aligned with too large values."

The test fails on Windows, with

  error: 'warning' diagnostics expected but not seen:
    File builtin-assume-aligned.c Line 62: requested alignment
        must be 268435456 bytes or smaller; assumption ignored
  error: 'warning' diagnostics seen but not expected:
    File builtin-assume-aligned.c Line 62: requested alignment
        must be 8192 bytes or smaller; assumption ignored

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374456 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaChecking.cpp
test/Sema/builtin-assume-aligned.c