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 tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr29254.c
blob
df6ba574a5dbf68959545ab6617767f899e92c2a
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Werror" } */
3
4
int
value_compare
();
5
6
int
7
list_compare
(
int
*
list1
)
8
{
9
if
(
list1
)
10
value_compare
();
11
}
12
13
int
func1
(
int
*
f
){}
14
15
int
16
value_compare
(
int
*
a
)
17
{
18
if
(
a
)
19
list_compare
(
a
);
20
}
21
22
int
23
func2
(
const int
*
fb
)
24
{
25
func1
((
int
*)
fb
);
/* { dg-bogus "discards qualifiers" } */
26
}