projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d24ceb
)
[flang] Force -fexceptions for real arithmetic tests
author
peter klausler
<pklausler@nvidia.com>
Tue, 18 Jun 2019 22:32:20 +0000
(15:32 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Tue, 18 Jun 2019 22:32:20 +0000
(15:32 -0700)
Original-commit: flang-compiler/f18@
532dd3b6df55af2df334203b3e18e6d9310b821e
Reviewed-on: https://github.com/flang-compiler/f18/pull/503
flang/test/evaluate/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/flang/test/evaluate/CMakeLists.txt
b/flang/test/evaluate/CMakeLists.txt
index
bfe84ec
..
2d201cc
100644
(file)
--- a/
flang/test/evaluate/CMakeLists.txt
+++ b/
flang/test/evaluate/CMakeLists.txt
@@
-76,6
+76,11
@@
target_link_libraries(logical-test
FortranEvaluate
)
+# GCC -fno-exceptions breaks the fenv.h interfaces needed to capture
+# IEEE exception flags (different use of the word "exception")
+# in the actual hardware floating-point status register, so ensure that
+# C++ exceptions are enabled for this test.
+set_source_files_properties(real.cc PROPERTIES COMPILE_FLAGS -fexceptions)
add_executable(real-test
real.cc
)