aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-07-02 22:22:32 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-07-02 22:22:32 +0200
commit416f380b0de93075cdf0e968ad76f1c102db5dd7 (patch)
tree94ec85f85c58f86f21bfcc5897fdfbbd27949fbf /gcc/explow.c
parent2dc8bd762e1b69c34ce88b5b4d3672f008d856b8 (diff)
downloadgcc-416f380b0de93075cdf0e968ad76f1c102db5dd7.zip
gcc-416f380b0de93075cdf0e968ad76f1c102db5dd7.tar.gz
gcc-416f380b0de93075cdf0e968ad76f1c102db5dd7.tar.bz2
re PR c++/44780 (Bogus set-but-not-used variable warning)
PR c++/44780 * typeck.c (convert_for_assignment): When converting a convertible vector type or objc++ types, call mark_rvalue_use. * typeck2.c (build_m_component_ref): Use return values from mark_rvalue_use or mark_lvalue_use. * class.c (build_base_path): Likewise. * call.c (build_conditional_expr): Likewise. * c-c++-common/Wunused-var-12.c: New test. From-SVN: r161742
Diffstat (limited to 'gcc/explow.c')
0 files changed, 0 insertions, 0 deletions