diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-01-31 21:56:35 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-04 00:35:03 +0100 |
| commit | 3b246718ea3341a09fe6f7ecba5a9a882c590452 (patch) | |
| tree | d8886d0ed25c394a059d502f3e66fb5b708ff8a7 /validation/expand | |
| parent | 2889393c78c586ae63f0f0af1754b2d8edf83dd2 (diff) | |
| download | sparse-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/expand')
| -rw-r--r-- | validation/expand/builtin-expect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/validation/expand/builtin-expect.c b/validation/expand/builtin-expect.c index f4e0664b..1b0c7c18 100644 --- a/validation/expand/builtin-expect.c +++ b/validation/expand/builtin-expect.c @@ -36,6 +36,7 @@ void *fptr(void *a) /* * check-name: builtin-expect * check-command: test-linearize -m64 -Wno-decl $file + * check-assert: sizeof(long) == 8 * * check-output-start flia: |
