This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,TESTSUITE]Allow sms test to support 16bit int targets
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andrew Hutchinson <andrewhutchinson at cox dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Nov 2009 09:52:24 -0800
- Subject: Re: [PATCH,TESTSUITE]Allow sms test to support 16bit int targets
- References: <4B083E9F.5010201@cox.net>
- Reply-to: janis187 at us dot ibm dot com
On Sat, 2009-11-21 at 14:25 -0500, Andrew Hutchinson wrote:
> The attached patch allows test to work correctly with 16bit int targets.
> This prevents overflow in accumulator 'res'.
>
> 2009-11-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
>
> *gcc.dg/sms-6.c: Use long for 16 bit int targets.
> *gcc.dg/sms-7.c: Ditto.
>
>
> OK for 4.5 HEAD?
OK. Put a blank before '*' and the file name in the ChangeLog
entry.
Janis