mirror of git://gcc.gnu.org/git/gcc.git
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
|
|
@ -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>
|
2012-03-20 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
PR c++/52510
|
PR c++/52510
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-options "-fno-toplevel-reorder" } */
|
/* { dg-options "-fno-toplevel-reorder" } */
|
||||||
|
/* { dg-require-effective-target int32plus } */
|
||||||
|
|
||||||
extern void abort (void);
|
extern void abort (void);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
|
/* { dg-require-effective-target int32plus } */
|
||||||
|
|
||||||
extern void abort (void);
|
extern void abort (void);
|
||||||
struct S1 {
|
struct S1 {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
extern void abort (void);
|
extern void abort (void);
|
||||||
|
|
||||||
|
#if __SIZEOF_INT__ > 2
|
||||||
struct foo
|
struct foo
|
||||||
{
|
{
|
||||||
int *f;
|
int *f;
|
||||||
|
|
@ -9,6 +10,15 @@ struct foo
|
||||||
};
|
};
|
||||||
|
|
||||||
int baz;
|
int baz;
|
||||||
|
#else
|
||||||
|
struct foo
|
||||||
|
{
|
||||||
|
long *f;
|
||||||
|
long i;
|
||||||
|
};
|
||||||
|
|
||||||
|
long baz;
|
||||||
|
#endif
|
||||||
|
|
||||||
void __attribute__ ((noinline))
|
void __attribute__ ((noinline))
|
||||||
bar (struct foo x)
|
bar (struct foo x)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue