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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr89314.c
blob
27b3a510bfd0ce2ea509ed74544e417317acec8f
1
/* PR tree-optimization/89314 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wbuiltin-declaration-mismatch -Wextra" } */
4
5
extern
__SIZE_TYPE__
strlen
(
const float
*);
/* { dg-warning "\\\[-Wbuiltin-declaration-mismatch" } */
6
void
bar
(
void
);
7
8
void
9
foo
(
float
*
s
)
10
{
11
if
(
strlen
(
s
) >
0
)
12
bar
();
13
}