a92498eb1f66bad755b5e51f82c267ae05ff623c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-original" } */
8 return a
+5+(ptrdiff_t)b
== (ptrdiff_t)b
+a
;
11 /* Folding should have determined that the two addresses were
12 not identical and thus collapsed the function into a trivial
14 /* { dg-final { scan-tree-dump-times "return 0" 1 "original"} } */
15 /* { dg-final { cleanup-tree-dump "original" } } */