[PATCH] D87822: [FPEnv] Evaluate constant expressions under non-default rounding modes

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 14:22:32 PDT 2020


leonardchan added a comment.

Hi! It looks like this is causing a test failure on our aach64 builders (https://luci-milo.appspot.com/p/fuchsia/builders/ci/clang-linux-arm64/b8868095822628984976?):

  [1113/1114] Running the Clang regression tests
  llvm-lit: /b/s/w/ir/k/staging/llvm_build/bin/../../../llvm-project/llvm/utils/lit/lit/llvm/config.py:379: note: using clang: /b/s/w/ir/k/staging/llvm_build/bin/clang
  -- Testing: 26708 tests, 256 workers --
  Testing: 
  FAIL: Clang :: AST/const-fpfeatures-diag.c (269 of 26708)
  ******************** TEST 'Clang :: AST/const-fpfeatures-diag.c' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /b/s/w/ir/k/staging/llvm_build/bin/clang -cc1 -internal-isystem /b/s/w/ir/k/staging/llvm_build/lib/clang/12.0.0/include -nostdsysteminc -verify -ffp-exception-behavior=strict -Wno-unknown-pragmas /b/s/w/ir/k/llvm-project/clang/test/AST/const-fpfeatures-diag.c
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  error: 'error' diagnostics expected but not seen: 
    File /b/s/w/ir/k/llvm-project/clang/test/AST/const-fpfeatures-diag.c Line 8: initializer element is not a compile-time constant
  error: 'warning' diagnostics seen but not expected: 
    (frontend): overriding currently unsupported use of floating point exceptions on this target
  2 errors generated.
  
  --
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
  ********************
  Failed Tests (1):
    Clang :: AST/const-fpfeatures-diag.c

Would you mind taking a look and sending out a fix? Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87822



More information about the cfe-commits mailing list