From 31c2d5aa28eed34dc6949db828c1ae9a81203740 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 29 May 2019 16:37:49 -0700 Subject: Temporarily avoid %a when printing floating constants This is C99, but is not supported by fscanf in OpenBSD, so floating constants can't be read back in by QBE. --- test/float-promote.qbe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/float-promote.qbe') diff --git a/test/float-promote.qbe b/test/float-promote.qbe index 052b1fa..5dad07c 100644 --- a/test/float-promote.qbe +++ b/test/float-promote.qbe @@ -2,10 +2,10 @@ export function $f() { @start.1 @body.2 - %.1 =d exts s_0x1p+0 + %.1 =d exts s_1 call $g1(d %.1) - %.2 =d exts s_0x1p+0 + %.2 =d exts s_1 call $g2(w 0, d %.2, ...) - call $g3(s s_0x1p+0) + call $g3(s s_1) ret } -- cgit v1.2.3