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
/
torture
/
pr104825.c
blob
417012e5fdd4c74dc61b8ab66a8c45929252442a
1
/* { dg-do compile } */
2
/* { dg-additional-options "-Wno-old-style-definition -Wno-stringop-overread" } */
3
4
int
foo
(
fmt
)
5
char
*
fmt
;
6
{
7
return
(
__builtin_strchr
(
fmt
,
'*'
) !=
0
8
||
__builtin_strchr
(
fmt
,
'n'
) !=
0
);
9
}
10
void
bar
()
11
{
12
if
(
foo
(
1
))
13
__builtin_abort
();
14
}