Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr24225.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* This was an ICE caused by the compiler-generated stack save/restore |
2 statements around s[b]. */ | |
3 /* { dg-do compile } */ | |
4 /* { dg-options "-O1 -fprofile-arcs" } */ | |
5 /* { dg-require-profiling "-fprofile-generate" } */ | |
6 | |
7 int | |
8 foo (int a, int b) | |
9 { | |
10 if (a) | |
11 return 1; | |
12 { | |
13 int s [b]; | |
14 return 0; | |
15 } | |
16 } |