Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-4.c
blobadae7b55de859e9453fcdbff0049b565d985e346
1 /* { dg-do compile } */
2 /* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there
3 will be no casts for FRE to eliminate and the test will fail. */
4 /* { dg-skip-if "no promotion to eliminate" { cris-*-* mmix-*-* } { "*" } { "" } } */
5 /* { dg-options "-O -fdump-tree-fre-details" } */
7 /* From PR21608. */
9 static inline char wrap(char f) { return f; }
10 char bar(char f)
12 return wrap(f);
15 /* { dg-final { scan-tree-dump "Replaced \\\(char\\\) .*with " "fre" } } */
16 /* { dg-final { cleanup-tree-dump "fre" } } */