rust: build failure after NON_DEPENDENT_EXPR removal [PR111899]
commit5ac53c025e08b4c464b02cfc595e422813023c81
authorPatrick Palka <ppalka@redhat.com>
Fri, 20 Oct 2023 17:36:11 +0000 (20 13:36 -0400)
committerPatrick Palka <ppalka@redhat.com>
Fri, 20 Oct 2023 17:36:11 +0000 (20 13:36 -0400)
tree425eee972091df24ad5cc7d942dec63927f10a82
parent1d9263f292c3efc4e37c3a88117388e86d19b954
rust: build failure after NON_DEPENDENT_EXPR removal [PR111899]

This patch removes stray NON_DEPENDENT_EXPR checks following the removal
of this tree code from the C++ FE.  (Since this restores the build I
supppose it means the Rust FE never creates NON_DEPENDENT_EXPR trees in
the first place, so no further analysis is needed.)

PR rust/111899

gcc/rust/ChangeLog:

* backend/rust-constexpr.cc (potential_constant_expression_1):
Remove NON_DEPENDENT_EXPR handling.
* backend/rust-tree.cc (mark_exp_read): Likewise.
(mark_use): Likewise.
(lvalue_kind): Likewise.
gcc/rust/backend/rust-constexpr.cc
gcc/rust/backend/rust-tree.cc