Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr34029-2.c
blob: 9ec49ec97fa70da0f197e18922b99a6635840ad1 [
file
] [
log
] [
blame
]
static
const
char
s
[]
=
"ab.cd.efghijk"
;
static
const
char
t
[]
=
"abcde"
;
long
foo
(
const
char
*
x
)
{
const
char
*
a
;
long
b
=
0
;
a
=
__builtin_strchr
(
s
,
'.'
);
return
((
long
)
a
)
+
(
1
-
(
long
)
t
);
}