2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr55033.c
blob4f9e06cc83681313618d237ffb023eb4e6e6ed16
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_eabi_ok } */
3 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=8540" } } */
4 /* { dg-options "-mcpu=8540 -msoft-float -meabi -msdata=eabi -G 8 -fno-common" } */
6 extern void f (void);
8 struct s
10 int *p;
11 int *q;
14 extern int a;
16 extern const struct s c;
18 const struct s c = { &a, 0 };
20 void
21 f (void)
23 char buf[4] = { 0, 1, 2, 3 };