libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / muldiv-2.c
blob474741a248af6419436fb9ab63d03334d96631c7
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized-raw" } */
4 // 'a' should disappear, but we are not there yet
6 int* f(int* a, int* b, int* c){
7 __PTRDIFF_TYPE__ d = b - a;
8 d += 1;
9 return a + d;
12 /* { dg-final { scan-tree-dump-not "div" "optimized" } } */