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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr95770.c
blob
06714ea1fa5f566df1139e451d1a20e22b36f790
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
4
float
*
a
;
5
void
b
(
float
c
,
float
d
)
6
{
7
a
[
0
] =
a
[
1
] =
0.5
f
* (
c
-
2
+
d
);
8
a
[
2
] =
a
[
3
] =
0.5
f
* (
c
+
2
+
d
);
9
}