gccrs: Remove param_use_canonical_types checks ported from c++ front-end
authorPhilip Herron <philip.herron@embecosm.com>
Wed, 31 Aug 2022 13:08:43 +0000 (14:08 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:50 +0000 (14:16 +0100)
commit1eabeb5aecc954d2c237f5997605a73a37dd1c12
tree63cd23508fa18d04864103f047e3c9f30ca63b62
parent7ad24d802e593dff058874bd81a2d4d4cfcd1b73
gccrs: Remove param_use_canonical_types checks ported from c++ front-end

We are not fully setting TYPE_CANONICAL yet but we don't need to be as
strict as the C++ front-end yet. param_use_canonical_types is a command
line option we are not using either.

gcc/rust/ChangeLog:

* backend/rust-tree.cc (comptypes): Remove some C++ specific checks in
Rust const folder for now.
gcc/rust/backend/rust-tree.cc