Message ID | 20130720015444.z1cnom7o0cs0848g-nzlynne@webmail.spamcop.net |
---|---|
State | New |
Headers | show |
Ok. On Jul 19, 2013, at 10:54 PM, Joern Rennecke <joern.rennecke@embecosm.com> wrote: > With 16 bit integers, (int) 0x00010000 is just 0, so execution of that test fails. > > Tested for avr with --target_board=atmega128-sim and native on i686-pc-linuc-gnu. > > 2013-05-13 Joern Rennecke <joern.rennecke@embecosm.com> > > * gcc.c-torture/execute/pr56799.x: New file. > > Index: gcc.c-torture/execute/pr56799.x > =================================================================== > --- gcc.c-torture/execute/pr56799.x (revision 0) > +++ gcc.c-torture/execute/pr56799.x (working copy) > @@ -0,0 +1,7 @@ > +load_lib target-supports.exp > + > +if { [check_effective_target_int32plus] } { > + return 0 > +} > + > +return 1;
Index: gcc.c-torture/execute/pr56799.x =================================================================== --- gcc.c-torture/execute/pr56799.x (revision 0) +++ gcc.c-torture/execute/pr56799.x (working copy) @@ -0,0 +1,7 @@ +load_lib target-supports.exp + +if { [check_effective_target_int32plus] } { + return 0 +} + +return 1;