Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/ipa/ipa-sra-5.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */ | |
3 | |
4 static int * | |
5 __attribute__((noinline,used)) | |
6 ox (int *i, int *j) | |
7 { | |
8 return i; | |
9 } | |
10 | |
11 int a; | |
12 | |
13 int *caller (void) | |
14 { | |
15 int b = 10; | |
16 | |
17 return ox (&a, &b); | |
18 } | |
19 /* { dg-final { scan-tree-dump-times "base: j, remove_param" 0 "eipa_sra" } } */ |