[PATCH] D68824: Fix __builtin_assume_aligned with too large values.

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 14:34:09 PDT 2019


thakis added a comment.

The new test fails on Windows:

  -- Testing: 16032 tests, 32 workers --
  Testing:  0.. 10.. 20.. 30.. 40.. 50
  FAIL: Clang :: Sema/builtin-assume-aligned.c (8862 of 16032)
  ******************** TEST 'Clang :: Sema/builtin-assume-aligned.c' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem c:\src\llvm-project\out\gn\lib\clang\10.0.0\include -nostdsysteminc -fsyntax-only -verify C:\src\llvm-project\clang\test\Sema\builtin-assume-aligned.c
  --
  Exit Code: 1
  
  Command Output (stdout):
  --
  $ ":" "RUN: at line 1"
  $ "c:\src\llvm-project\out\gn\bin\clang.exe" "-cc1" "-internal-isystem" "c:\src\llvm-project\out\gn\lib\clang\10.0.0\include" "-nostdsysteminc" "-fsyntax-only" "-verify" "C:\src\llvm-project\clang\test\Sema\builtin-assume-aligned.c"
  # command stderr:
  error: 'warning' diagnostics expected but not seen: 
    File C:\src\llvm-project\clang\test\Sema\builtin-assume-aligned.c Line 62: requested alignment must be 268435456 bytes or smaller; assumption ignored
  error: 'warning' diagnostics seen but not expected: 
    File C:\src\llvm-project\clang\test\Sema\builtin-assume-aligned.c Line 62: requested alignment must be 8192 bytes or smaller; assumption ignored
  2 errors generated.
  
  error: command failed with exit status: 1
  
  --
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
  Testing Time: 152.23s
  ********************
  Failing Tests (1):
      Clang :: Sema/builtin-assume-aligned.c


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68824/new/

https://reviews.llvm.org/D68824





More information about the cfe-commits mailing list