Skip to content

Commit 77ea73f

Browse files
committed
s390x: for clang use fp-contract=on instead of fast
Make clang slightly more cautious when contracting floating-point operations (e.g., when applying fused multiply add) by setting -ffp-contract=on (instead of fast). Signed-off-by: Marius Hillenbrand <[email protected]>
1 parent f91057c commit 77ea73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.zarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ endif
1212
# Enable floating-point expression contraction for clang, since it is the
1313
# default for gcc
1414
ifeq ($(C_COMPILER), CLANG)
15-
CCOMMON_OPT += -ffp-contract=fast
15+
CCOMMON_OPT += -ffp-contract=on
1616
endif

0 commit comments

Comments
 (0)