[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mes wip-arm state
From: |
Danny Milosavljevic |
Subject: |
Re: mes wip-arm state |
Date: |
Sun, 31 May 2020 23:33:31 +0200 |
Hi Janneke,
On Sun, 31 May 2020 23:08:13 +0200
Jan Nieuwenhuizen <janneke@gnu.org> wrote:
> > FAIL: lib/tests/scaffold/7l-struct-any-size-array-simple.c
> > FAIL: lib/tests/scaffold/7r-sign-extend.c
>
> So this is a test-suite bug, right? Are the tests broken or should they
> be marked XFAIL (for ARM?)
I think that these tests are broken--or at least not applicable on ARM.
Both tests basically do
{
char c = -1;
int i = c;
}
and char is unsigned on ARM, so i will NEVER contain a negative value (reason:
because of C integer promotion rules).
If those are from tcc, let's check whether they force signed char by compiler
option.
> > # FAIL: 0
>
> Congratulations, that's just terriffic \o/
Yeah. I like it!
What's the next step? Should we merge this part to master?
After that, make tcc work?
pgpMpmV6wixSw.pgp
Description: OpenPGP digital signature