repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr17397.c
blob
6dde3c856be5cf7aae1687de70bcfdaf0558f588
1
/* ICE due to invalid GIMPLE created during strlen simplification. */
2
/* { dg-require-effective-target alloca } */
3
4
extern
unsigned long
strlen
(
__const
char
*
__s
);
5
extern
void
bar
();
6
extern
int
cols
;
7
8
void
foo
(
void
)
9
{
10
char
s
[
cols
+
2
];
11
if
(
strlen
(
s
) >
0
)
12
bar
();
13
}