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
PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr79499.c
blob
509549ff2fd7b9126ae8be772b1f49fb58982a3f
1
/* PR middle-end/79499 */
2
/* { dg-do compile { target split_stack } } */
3
/* { dg-options "-O2 -fsplit-stack -fno-omit-frame-pointer" } */
4
5
struct
S
{
struct
S
*
a
, *
b
; };
6
7
void
8
foo
(
struct
S
*
x
)
9
{
10
do
11
x
->
b
=
x
->
a
;
12
while
(
x
=
x
->
a
);
13
}