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-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr14649-1.c
blob
83a9f570eef3e0d0e3e86bc6d75da78f37373886
1
/* PR c/14649 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
double
atan
(
double
);
6
7
const double
pi
=
4
*
atan
(
1.0
);
/* { dg-warning "(not constant)|(near initialization)" } */
8
9
const double
ok
=
4
*
__builtin_atan
(
1.0
);
10
11
double
foo
()
12
{
13
double
ok2
=
4
*
atan
(
1.0
);
14
return
ok2
;
15
}
16