bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mes] tests and uldiv on mes wip-arm


From: Danny Milosavljevic
Subject: Re: [bug-mes] tests and uldiv on mes wip-arm
Date: Wed, 3 Jun 2020 01:30:27 +0200

On Thu, 16 May 2019 22:27:45 +0200
Jan Nieuwenhuizen <janneke@gnu.org> wrote:

> Danny Milosavljevic writes:
> > It[23-pointer-sub.c]'s subtracting two char*.  
> 
> Dividing by 1 is pretty silly, maybe we can avoid doing that in the compiler?

Now that we have -lmescc and it has been tested somewhat, I agree, let's
make mescc optimize out that case.

We should definitely add a test that uses unsigned int* then, just to make
sure the actual pointer arithmetic that requires division still works.

Attachment: pgpl7_MYBpr2l.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]