Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/fold-reassoc-3.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-fdump-tree-original" } */ | |
3 | |
4 int i; | |
5 int *p = &i; | |
6 static __PTRDIFF_TYPE__ d = p - (p + 1); | |
7 | |
8 void | |
9 foo (void) | |
10 { | |
11 int *q = &i; | |
12 static __PTRDIFF_TYPE__ e = q - (q + 1); | |
13 } | |
14 | |
15 /* { dg-final { scan-tree-dump-not " - " "original" } } */ | |
16 /* { dg-final { scan-tree-dump-not " \\+ " "original" } } */ |