aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/degen-function.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-01-31 21:56:35 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-02-04 00:35:03 +0100
commit3b246718ea3341a09fe6f7ecba5a9a882c590452 (patch)
treed8886d0ed25c394a059d502f3e66fb5b708ff8a7 /validation/linear/degen-function.c
parent2889393c78c586ae63f0f0af1754b2d8edf83dd2 (diff)
downloadsparse-dev-3b246718ea3341a09fe6f7ecba5a9a882c590452.tar.gz
target.c: ignore -m64 on archs where int32_t is a long
If the flag '-m64' is used on a 32-bit architecture/machine having int32_t set to 'long', then these int32_t are forced to 64-bit ... So, ignore the effect of -m64 on these archs and ignore '64-bit only' tests on them. Reported-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Tested-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Diffstat (limited to 'validation/linear/degen-function.c')
-rw-r--r--validation/linear/degen-function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/validation/linear/degen-function.c b/validation/linear/degen-function.c
index a7cff443..e0b05e5f 100644
--- a/validation/linear/degen-function.c
+++ b/validation/linear/degen-function.c
@@ -9,6 +9,7 @@ fun_t f1(void) { return *fun; }
/*
* check-name: degen-function
* check-command: test-linearize -m64 -Wno-decl -fdump-ir=linearize $file
+ * check-assert: sizeof(void *) == 8
*
* check-output-start
fa: