re PR testsuite/52641 (Test cases fail for 16-bit int targets)
PR testsuite/52641 * gcc.dg/torture/pr48124-1.c: Add dg-require-effective-target int32plus. * gcc.dg/torture/pr48124-4.c: Ditto: * gcc.dg/torture/pr52530.c: Use long instead of int if int=16. From-SVN: r185588
This commit is contained in:
parent
9e291a01a2
commit
1c7a6d48b5
4 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-03-20 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
PR testsuite/52641
|
||||
* gcc.dg/torture/pr48124-1.c: Add dg-require-effective-target
|
||||
int32plus.
|
||||
* gcc.dg/torture/pr48124-4.c: Ditto:
|
||||
* gcc.dg/torture/pr52530.c: Use long instead of int if int=16.
|
||||
|
||||
2012-03-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/52510
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-fno-toplevel-reorder" } */
|
||||
/* { dg-require-effective-target int32plus } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target int32plus } */
|
||||
|
||||
extern void abort (void);
|
||||
struct S1 {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
extern void abort (void);
|
||||
|
||||
#if __SIZEOF_INT__ > 2
|
||||
struct foo
|
||||
{
|
||||
int *f;
|
||||
|
@ -9,6 +10,15 @@ struct foo
|
|||
};
|
||||
|
||||
int baz;
|
||||
#else
|
||||
struct foo
|
||||
{
|
||||
long *f;
|
||||
long i;
|
||||
};
|
||||
|
||||
long baz;
|
||||
#endif
|
||||
|
||||
void __attribute__ ((noinline))
|
||||
bar (struct foo x)
|
||||
|
|
Loading…
Add table
Reference in a new issue