https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96265
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Prathamesh Kulkarni <prathamesh3...@gcc.gnu.org>: https://gcc.gnu.org/g:ae88da5e070659d37b3c3daa4b880531769183bf commit r15-4133-gae88da5e070659d37b3c3daa4b880531769183bf Author: Prathamesh Kulkarni <prathame...@nvidia.com> Date: Tue Oct 8 12:38:31 2024 +0530 Recompute TYPE_MODE and DECL_MODE for vector_type for accelerator. gcc/ChangeLog: PR ipa/96265 * lto-streamer-in.cc (lto_read_tree_1): Set TYPE_MODE and DECL_MODE for vector_type if offloading is enabled. (lto_input_mode_table): Remove handling of vector modes. * tree-streamer-out.cc (pack_ts_decl_common_value_fields): Stream out VOIDmode for vector_type if offloading is enabled. (pack_ts_decl_common_value_fields): Likewise. Signed-off-by: Prathamesh Kulkarni <prathame...@nvidia.com>