aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-08-15 23:54:54 +0200
committerMark Wielaard <mark@klomp.org>2021-08-15 23:56:25 +0200
commitc4bab97a9911250409ab5e72bb649fe3818e9502 (patch)
tree0e68db2761b9389e4ea8081e7f2a61f56fd21f38 /gcc/rust/backend/rust-compile-resolve-path.cc
parent52c1cdc9c63baeb090680daf6762c02362f2c6cd (diff)
downloadgcc-c4bab97a9911250409ab5e72bb649fe3818e9502.zip
gcc-c4bab97a9911250409ab5e72bb649fe3818e9502.tar.gz
gcc-c4bab97a9911250409ab5e72bb649fe3818e9502.tar.bz2
Use default type_for_size langhook
The gcc constant folding code uses the type_for_size langhook. Use the default implementation instead of crashing when the langhook is called. Add a new testcase "prims_struct_eq.rs" that creates trees that triggers the constant folding. Also remove the write_globals langhook which was removed when early debug was integrated into gcc.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions