Message ID | 515968E5.7060200@atmel.com |
---|---|
State | New |
Headers | show |
could someone please review and commit if it is OK? I don't have commit access. Regards, Pitchumani On 4/1/2013 4:30 PM, Pitchumani Sivanupandi wrote: > Fix test case sra-13.c that assumed int is always 4 bytes. > > Regards, > Pitchumani > > 2013-04-01 Pitchumani Sivanupandi <pitchumani.s@atmel.com> > > testsuite > * gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int > > --- gcc/testsuite/gcc.dg/tree-ssa/sra-13.c (revision 197081) > +++ gcc/testsuite/gcc.dg/tree-ssa/sra-13.c (working copy) > @@ -95,7 +95,7 @@ > b = 0; > gu1.b.l = 20000000; > s = bar (); > - if (s != 20000000) > + if (s != (int)20000000) > __builtin_abort (); > if (gu2.b.l != 20000000) > __builtin_abort (); >
On Apr 2, 2013, at 5:59 AM, Pitchumani Sivanupandi <pitchumani.s@atmel.com> wrote: > could someone please review Ok. > and commit if it is OK? Committed revision 197366.
--- gcc/testsuite/gcc.dg/tree-ssa/sra-13.c (revision 197081) +++ gcc/testsuite/gcc.dg/tree-ssa/sra-13.c (working copy) @@ -95,7 +95,7 @@ b = 0; gu1.b.l = 20000000; s = bar (); - if (s != 20000000) + if (s != (int)20000000) __builtin_abort (); if (gu2.b.l != 20000000) __builtin_abort ();