diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-04-27 22:41:15 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-04-27 22:41:15 +0100 |
commit | 47aecf47d196c05b7b388e4fefbdce2f075bd4b0 (patch) | |
tree | ce276778b8df2b8bd816052b690271a7aecc28d3 /gcc/modulo-sched.c | |
parent | c7466deed4c713f843bf5256ffddbeca135d1371 (diff) | |
download | gcc-47aecf47d196c05b7b388e4fefbdce2f075bd4b0.zip gcc-47aecf47d196c05b7b388e4fefbdce2f075bd4b0.tar.gz gcc-47aecf47d196c05b7b388e4fefbdce2f075bd4b0.tar.bz2 |
re PR c/21159 ("no effect" warning despite cast to void*)
PR c/21159
* c-typeck.c (build_compound_expr): Don't warn for left-hand side
being a compound expression whose right-hand side is cast to void.
testsuite:
* gcc.dg/void-cast-1.c: New test.
From-SVN: r98886
Diffstat (limited to 'gcc/modulo-sched.c')
0 files changed, 0 insertions, 0 deletions