Bug 2342604
Summary: | GCC 15: While compiling embree with tutorials, internal compiler error: Segmentation fault | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Beasley <code> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | gcc-15.0.1-0.5.fc42 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2025-02-01 13:34:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2337588 | ||||||
Attachments: |
|
Description
Ben Beasley
2025-01-28 16:11:33 UTC
Reproduced with a cross: $ ./cc1plus -quiet bvh_access.cpp.ii -O3 -flax-vector-conversions -Iinclude -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fsigned-char -flax-vector-conversions -Wall -Wformat -Wformat-security -Wno-class-memaccess -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -fsigned-char -fPIE -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing -fno-tree-vectorize during RTL pass: ldp_fusion /root/rpmbuild/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/bvh_access/bvh_access.cpp: In function ‘void embree::print_bvh4_triangle4v(BVHN<4>::NodeRef, size_t)’: /root/rpmbuild/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/bvh_access/bvh_access.cpp:176:3: internal compiler error: Segmentation fault 0x2332b01 internal_error(char const*, ...) /home/mpolacek/src/gcc/gcc/diagnostic-global-context.cc:517 0x1093e4f crash_signal /home/mpolacek/src/gcc/gcc/toplev.cc:322 0x7f00be1df04f ??? /usr/src/debug/glibc-2.40-21.fc41.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x2191150 derived_iterator<rtl_ssa::use_info*, rtl_ssa::access_info* const*>::operator*() const /home/mpolacek/src/gcc/gcc/iterator-utils.h:68 0x2191150 bool rtl_ssa::restrict_movement_for_uses<rtl_ssa::ignore_changing_insns>(rtl_ssa::insn_range_info&, const_derived_container<rtl_ssa::use_info*, array_slice<rtl_ssa::access_info* const> >, rtl_ssa::ignore_changing_insns) /home/mpolacek/src/gcc/gcc/rtl-ssa/movement.h:285 0x2191150 bool rtl_ssa::restrict_movement<rtl_ssa::ignore_changing_insns>(rtl_ssa::insn_change&, rtl_ssa::ignore_changing_insns) /home/mpolacek/src/gcc/gcc/rtl-ssa/change-utils.h:64 0x2199e37 pair_fusion_bb_info::fuse_pair(bool, unsigned int, int, rtl_ssa::insn_info*, rtl_ssa::insn_info*, base_cand&, rtl_ssa::insn_range_info const&) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:1965 0x219d97f pair_fusion_bb_info::try_fuse_pair(bool, unsigned int, rtl_ssa::insn_info*, rtl_ssa::insn_info*) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:2805 0x219de4d pair_fusion_bb_info::merge_pairs(std::__cxx11::list<rtl_ssa::insn_info*, std::allocator<rtl_ssa::insn_info*> >&, std::__cxx11::list<rtl_ssa::insn_info*, std::allocator<rtl_ssa::insn_info*> >&, bool, unsigned int) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:2894 0x219e423 pair_fusion_bb_info::transform_for_base(int, access_group&) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:2927 0x219e423 void pair_fusion_bb_info::traverse_base_map<ordered_hash_map<pair_hash<tree_operand_hash, int_hash<int, -1, -2> >, access_group, simple_hashmap_traits<default_hash_traits<pair_hash<tree_operand_hash, int_hash<int, -1, -2> > >, access_group> > >(ordered_hash_map<pair_hash<tree_operand_hash, int_hash<int, -1, -2> >, access_group, simple_hashmap_traits<default_hash_traits<pair_hash<tree_operand_hash, int_hash<int, -1, -2> > >, access_group> >&) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:2975 0x2193567 pair_fusion_bb_info::transform() /home/mpolacek/src/gcc/gcc/pair-fusion.cc:2982 0x2193567 pair_fusion::process_block(rtl_ssa::bb_info*) /home/mpolacek/src/gcc/gcc/pair-fusion.cc:3110 0x2193a3a pair_fusion::run() /home/mpolacek/src/gcc/gcc/pair-fusion.cc:133 0x1608b22 execute /home/mpolacek/src/gcc/gcc/config/aarch64/aarch64-ldp-fusion.cc:303 I think it's <https://gcc.gnu.org/PR118320>. Do you have preprocessed source for this? I think the PR118320 testcase has the disadvantage that it needs -fno-tree-sra, if we have something without it, that would be better. Created attachment 2074362 [details]
bvh_access.cpp.ii
Here it is. Unfortunately, it's huge :(.
|