Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/muldiv-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -fdump-tree-optimized-raw" } */ | |
3 | |
4 // 'a' should disappear, but we are not there yet | |
5 | |
6 int* f(int* a, int* b, int* c){ | |
7 __PTRDIFF_TYPE__ d = b - a; | |
8 d += 1; | |
9 return a + d; | |
10 } | |
11 | |
12 /* { dg-final { scan-tree-dump-not "div" "optimized" } } */ |