2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / propalign-5.c
blob68e57da30d7914236206ca36a3a7131fef5e655b
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-ipa-cp" } */
3 /* { dg-skip-if "No alignment restrictions" { { ! natural_alignment_32 } && { ! natural_alignment_64 } } } */
5 int n;
7 static void
8 __attribute__ ((noinline))
9 test(void *a)
11 __builtin_memset (a,0,n);
14 int
15 main()
17 int aa;
18 short bb;
19 test (&aa);
20 test (&bb);
21 return 0;
23 /* { dg-final { scan-ipa-dump "align: 2" "cp" } } */