diff options
author | Mark Wielaard <mark@klomp.org> | 2021-08-15 23:54:54 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2021-08-15 23:56:25 +0200 |
commit | c4bab97a9911250409ab5e72bb649fe3818e9502 (patch) | |
tree | 0e68db2761b9389e4ea8081e7f2a61f56fd21f38 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 52c1cdc9c63baeb090680daf6762c02362f2c6cd (diff) | |
download | gcc-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