[Bug jit/117923] ICE in SET_TYPE_VECTOR_SUBPARTS on Aarch64
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 10 02:31:57 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117923
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Antoni Boucher <antoyo@gcc.gnu.org>:
https://gcc.gnu.org/g:62fa2e43cccc4b60558a7c3b4c578fda744bde96
commit r15-6070-g62fa2e43cccc4b60558a7c3b4c578fda744bde96
Author: Antoni Boucher <bouanto@zoho.com>
Date: Wed Dec 4 20:59:53 2024 -0500
aarch64: Fix ICE happening in SET_TYPE_VECTOR_SUBPARTS with libgccjit
The structure aarch64_simd_type_info was split in 2 because we do not
want to reset the static members of aarch64_simd_type_info to their
default value. We only want the tree types to be GC-ed. This is
necessary for libgccjit which can run multiple times in the same
process. If the static values were GC-ed, the second run would
ICE/segfault because of their invalid value.
The following test suites passed for this patch:
* The aarch64 tests.
* The aarch64 regression tests.
The number of failures of the jit tests on aarch64 lowered from +100 to
~7.
gcc/ChangeLog:
PR target/117923
* config/aarch64/aarch64-builtins.cc: Remove GTY marker on
aarch64_simd_types,
aarch64_simd_types_trees (new variable), rename aarch64_simd_types
to
aarch64_simd_types_trees.
* config/aarch64/aarch64-builtins.h: Remove GTY marker on
aarch64_simd_types,
aarch64_simd_types_trees (new variable).
* config/aarch64/aarch64-sve-builtins-shapes.cc: Rename
aarch64_simd_types to
aarch64_simd_types_trees.
* config/aarch64/aarch64-sve-builtins.cc: Rename aarch64_simd_types
to
aarch64_simd_types_trees.
More information about the Gcc-bugs
mailing list