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
PR middle-end/50199
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr50199_0.c
blob
61d0012be92996c4e5d3a37603f4a34d622c71cd
1
/* PR middle-end/50199 */
2
/* { dg-lto-options {{-O2 -flto -fno-merge-constants --param=lto-min-partition=1}} } */
3
4
__attribute__
((
noinline
))
const char
*
5
foo
(
const char
*
x
)
6
{
7
return
x
;
8
}
9
10
int
11
main
()
12
{
13
const char
*
a
=
"ab"
;
14
if
(
a
!=
foo
(
a
))
15
__builtin_abort
();
16
return
0
;
17
}