This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,TESTSUITE]Allow sms test to support 16bit int targets


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?

Attachment: sms.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]