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
+ * trans-mem.c (requires_barrier): Do not instrument thread local
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wunused-value-3.c
1
/* PR c/39889 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused-value" } */
4
5
int x;
6
int foo (void)
7
{
8
return (1 ? x = 0 : (void) 0), 0; /* { dg-bogus "value computed is not used" } */
9
}