OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-10-16 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr29254.c
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Werror" } */
3
4
list_compare (int * list1)
5
{
6
if (list1)
7
value_compare ();
8
}
9
10
func1 (int * f){}
11
12
value_compare (int * a)
13
{
14
if (a)
15
list_compare (a);
16
}
17
18
func2 (const int * fb)
19
{
20
func1 ((int *) fb); /* { dg-bogus "discards qualifiers" } */
21
}