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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-fre-45.c
blob
ea8957fccc5b54173733fe85184318896b3c854e
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre1" } */
3
4
struct
S
{
float
a
,
b
; };
5
6
float
7
foo
(
int
x
,
float
y
)
8
{
9
struct
S z
[
1024
];
10
z
[
x
].
a
=
y
;
11
struct
S
*
p
= &
z
[
x
];
12
float
*
q
= (
float
*)
p
;
13
return
*
q
;
14
}
15
16
/* { dg-final { scan-tree-dump "return y_\\d\+\\(D\\);" "fre1" } } */