OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-typeck.c
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index
598e249
..
81eee37
100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-2588,8
+2588,7
@@
pedantic_lvalue_warning (enum tree_code code)
switch (code)
{
case COND_EXPR:
- if (pedantic)
- pedwarn ("ISO C forbids use of conditional expressions as lvalues");
+ pedwarn ("use of conditional expressions as lvalues is deprecated");
break;
case COMPOUND_EXPR:
if (pedantic)