fold-const.c (fold_cond_expr_with_comparison): Remove call to pedantic_non_lvalue_loc.
authorBin Cheng <bin.cheng@arm.com>
Fri, 4 Nov 2016 15:51:38 +0000 (15:51 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 4 Nov 2016 15:51:38 +0000 (15:51 +0000)
commit26060734c0470c74ccef2f4b755d7be4ad6a0e20
tree370a46b1911783cba506d452293205a75b071155
parentdac9376aeebc6021e3a73c34f5b8bc7e87e09fc7
fold-const.c (fold_cond_expr_with_comparison): Remove call to pedantic_non_lvalue_loc.

* fold-const.c (fold_cond_expr_with_comparison): Remove call
to pedantic_non_lvalue_loc.  Remove useless code for lvalue
where cond_expr can't be a lvalue.

From-SVN: r241847
gcc/ChangeLog
gcc/fold-const.c