14 Star 20 Fork 76

openEuler/gcc

 / 详情

【22.03 LTS-SP1】【arm】【codedb】-O3 -ftree-slp-transpose-vectorize编译mcsema ICE: during GIMPLE pass: ldist:internal compiler error: Segmentation fault

已验收
缺陷
创建于  
2022-12-08 14:46

【标题描述】
【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

【附件信息】
附件私下分享

评论 (2)

纪晓慧 创建了缺陷

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

openeuler-ci-bot 添加了
 
sig/Compiler
标签
纪晓慧 负责人设置为笨鸟不飞就是鸡
纪晓慧 计划截止日期设置为2022-12-09
纪晓慧 计划开始日期设置为2022-12-08
纪晓慧 计划截止日期2022-12-09 修改为2022-12-11
纪晓慧 优先级设置为主要
笨鸟不飞就是鸡 通过openeuler/gcc Pull Request !74任务状态待办的 修改为已完成

回归结果:通过
输入图片说明

纪晓慧 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/gcc.git
git@gitee.com:openeuler/gcc.git
openeuler
gcc
gcc

搜索帮助

Cb406eda 1850385 E526c682 1850385