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
2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr55660_0.c
blob
7e7bb2ffff8c53c8bd174c79cfc8723d8ffc397d
1
/* { dg-lto-do run } */
2
/* { dg-extra-ld-options { -funsigned-char } } */
3
4
char
n
[
3
] = {
'a'
,
'b'
,
'c'
};
5
int
foo
(
char
*
x
)
6
{
7
if
(*
x
==
'b'
)
8
return
(
int
)*
x
;
9
*
x
=
'y'
;
10
return
0
;
11
}