【标题描述】
【22.03 LTS-SP1】【arm】【codedb】-O3 -ftree-slp-transpose-vectorize编译mcsema ICE: during GIMPLE pass: ldist:internal compiler error: Segmentation fault
【环境信息】
软件信息:
1)os版本:openEuler 21.09
2)内核信息:5.10.0-5.10.0.24.oe1.aarch64
3)工具链版本
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr2/jixiaohui/slreach/install/bin/../libexec/gcc/aarch64-linux-gnu/10.3.1/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../gcc/configure --prefix=/home/lyc/2022/gitee_lyc_gcc/install --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --enable-gnu-indirect-function --build=aarch64-linux-gnu --with-stage1-ldflags=' -Wl,-z,relro,-z,now' --with-boot-ldflags=' -Wl,-z,relro,-z,now' --disable-bootstrap --with-multilib-list=lp64 --enable-bolt
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.1 (GCC)
【问题复现步骤】
1、配置工具链:
export PATH=path to 1230b02
2、执行以下命令:
cd ./test/build/MultiSource/Applications/JM/lencod && ./test/build/tools/timeit --summary CMakeFiles/lencod.dir/block.c.o.time gcc -DNDEBUG -I./test/MultiSource/Applications/JM/lencod -I./test/build/MultiSource/Applications/JM/lencod -O2 -fcommon -O3 -ftree-slp-transpose-vectorize -w -Werror=date-time -D __USE_LARGEFILE64 -D _FILE_OFFSET_BITS=64 -o CMakeFiles/lencod.dir/block.c.o -c ./test/MultiSource/Applications/JM/lencod/block.c
【预期结果】
编译成功
【实际结果】
during GIMPLE pass: ldist
./test/MultiSource/Applications/JM/lencod/block.c: In function ‘dct_luma’:
./test/MultiSource/Applications/JM/lencod/block.c:947:5: internal compiler error: Segmentation fault
947 | int dct_luma(int block_x,int block_y,int *coeff_cost, int intra)
| ^~~~~~~~
0xb07ae3 crash_signal
../../gcc/gcc/toplev.c:328
0xb86f5c build_queue
../../gcc/gcc/tree-loop-distribution.c:3217
0xb86f5c find_isomorphic_stmts
../../gcc/gcc/tree-loop-distribution.c:3836
0xb86f5c get_cut_points
../../gcc/gcc/tree-loop-distribution.c:4022
0xb86f5c loop_distribution::insert_temp_arrays(loop*, vec<gimple*, va_heap, vl_ptr>, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, bitmap_head*)
../../gcc/gcc/tree-loop-distribution.c:4233
0xb87e8b loop_distribution::distribute_loop(loop*, vec<gimple*, va_heap, vl_ptr>, control_dependences*, int*, bool*, bool)
../../gcc/gcc/tree-loop-distribution.c:4329
0xb8a09f loop_distribution::execute(function*)
../../gcc/gcc/tree-loop-distribution.c:4719
0xb8a34f execute
../../gcc/gcc/tree-loop-distribution.c:4807
【附件信息】
附件私下分享
Hi jixiaohuiyou, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Compiler, and any of the maintainers: @Noah , @Peilin Guo , @eastb233 , @kuen , @笨鸟不飞就是鸡 , @Haijian.Zhang , @编译小伙 , @huangxiaoquan , @cf-zhao , @周磊 , @stubCode
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
回归结果:通过
登录 后才可以发表评论