wo_prof_single_str_global.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value. * gcc.dg/struct/wo_prof_single_str_local.c: Mask return value. * gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value. From-SVN: r143309
This commit is contained in:
parent
72114ca181
commit
31ca3fa447
|
@ -1,3 +1,9 @@
|
|||
2009-01-12 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value.
|
||||
* gcc.dg/struct/wo_prof_single_str_local.c: Mask return value.
|
||||
* gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value.
|
||||
|
||||
2009-01-12 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/other/vararg-3.C: New test.
|
||||
|
|
|
@ -24,8 +24,10 @@ main ()
|
|||
|
||||
if (str.a != res)
|
||||
abort ();
|
||||
|
||||
return str.a;
|
||||
|
||||
/* POSIX ignores all but the 8 low-order bits, but other
|
||||
environments may not. */
|
||||
return (str.a & 255);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
|
|
@ -25,7 +25,9 @@ main ()
|
|||
if (str.a != res)
|
||||
abort ();
|
||||
|
||||
return str.a;
|
||||
/* POSIX ignores all but the 8 low-order bits, but other
|
||||
environments may not. */
|
||||
return (str.a & 255);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
|
|
@ -29,7 +29,9 @@ main ()
|
|||
if (p->a != res)
|
||||
abort ();
|
||||
|
||||
return p->a;
|
||||
/* POSIX ignores all but the 8 low-order bits, but other
|
||||
environments may not. */
|
||||
return (p->a & 255);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue