[all-commits] [llvm/llvm-project] ff3847: [libc][NFC] Adjust enabled_exceptions_test wrt FE_...

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Jul 20 22:51:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff384700f25d8637c044325c2c086382b4234646
      https://github.com/llvm/llvm-project/commit/ff384700f25d8637c044325c2c086382b4234646
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M libc/test/src/fenv/enabled_exceptions_test.cpp

  Log Message:
  -----------
  [libc][NFC] Adjust enabled_exceptions_test wrt FE_INEXACT.

Since exceptions like FE_DIVBYZERO can raise FE_INEXACT, we need to
ensure that we don't raise FE_DIVBYZERO (or others which can also raise
FE_INEXACT) when FE_INEXACT is enabled.




More information about the All-commits mailing list