aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-08-10 15:23:37 +0200
committerThomas Schwinge <thomas@codesourcery.com>2023-09-19 14:13:14 +0200
commitc81d9b9fabaea25950a5fea91e4f541077078087 (patch)
treef6decfc419ea4a564d40e4e61def0709001acff8 /gcc/cp/tree.cc
parente1817426e85f2181a97ac4f71a87baaa9645b1b5 (diff)
downloadgcc-c81d9b9fabaea25950a5fea91e4f541077078087.zip
gcc-c81d9b9fabaea25950a5fea91e4f541077078087.tar.gz
gcc-c81d9b9fabaea25950a5fea91e4f541077078087.tar.bz2
LTO: Get rid of 'lto_mode_identity_table'
This, in particular, resolves LTO ICEs with big 'machine_mode's, as for RISC-V. ('mode_table' in 'lto_file_decl_data' still is 'unsigned char'; changing that is still to be done (for use in offloading compilation), but is not trivial.) For now, get rid of 'lto_mode_identity_table' to resolve the RISC-V LTO ICEs; we don't need an actual table for a 1-to-1 mapping. gcc/lto/ * lto-common.cc (lto_mode_identity_table): Remove. (lto_file_finalize) [!ACCEL_COMPILER]: 'NULL'-intialize 'file_data->mode_table'. (lto_fe_init): Don't initialize 'lto_mode_identity_table'. * lto-common.h (lto_mode_identity_table): Remove. gcc/ * tree-streamer.h (bp_unpack_machine_mode): If 'ib->file_data->mode_table' not available, apply 1-to-1 mapping. Co-authored-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions