9 Star 0 Fork 12

src-openEuler / pin-gcc-client

 / 详情

【23.03 RC2】【fuzz】-fnon-call-exceptions选项编译报ICE:internal compiler error: Aborted

已验收
缺陷
创建于  
2023-03-08 11:15

【标题描述】
-fnon-call-exceptions选项编译报ICE:internal compiler error: Aborted
【环境信息】
软件信息:
1)OS版本及分支:openEuler23.03
2)内核信息:6.1.8-3.0.0.10.oe2303.aarch64
【问题复现步骤】

gcc -I include/ -w -g -fplugin=libpin_gcc_client.so -fplugin-arg-libpin_gcc_client-log_level=1 -fplugin-arg-libpin_gcc_client-server_path=pin_server -fplugin-arg-libpin_gcc_client-type_code=IntegerTy32 -fnon-call-exceptions csmith_20230306_193858_2600.cpp -o csmith_20230306_193858_2600

【预期结果】
成功编译运行
【实际结果】

*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH                    | __divhc3
PLUGIN_ALL_IPA_PASSES_START      | bits/stl_iterator.h
csmith_20230306_193858_2600.cpp:50:1: internal compiler error: Aborted
   50 | }
      | ^

【附件信息】
附件如下:

附件
csmith.zip(27.94 KB)下载
纪晓慧 2023-03-24 19:22
test.zip(45.04 KB)下载
纪晓慧 2023-03-24 19:23

评论 (6)

纪晓慧 创建了缺陷

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 , @eastb233 , @kuen , @Peilin Guo , @cf-zhao , @周磊 , @编译小伙 , @stubCode , @openeuler-ci-bot

openeuler-ci-bot 添加了
 
sig/Compiler
标签
纪晓慧 修改了描述
纪晓慧 上传了附件csmith.rar
纪晓慧 负责人设置为MC.5
纪晓慧 计划截止日期设置为2023-03-09
纪晓慧 计划开始日期设置为2023-03-08
纪晓慧 优先级设置为主要

已修复,不会出现internal compiler error: Aborted。
合入PR:!33:[sync] PR-32: [sync] Sync patch from openEuler/pin-gcc-client

MC.5 任务状态待办的 修改为已完成

-fnon-call-exceptions和-fexceptions选项编译报ICE:internal compiler error: Aborted
输入图片说明
输入图片说明
用例在附件test.zip

纪晓慧 上传了附件test.rar

@纪晓慧 该问题是因为bb块多分支跳转情况下,除了现有支持的gimple_cond gimple_switch场景,仍存在部分特殊情况:
bb 4:
a = b + c
imp_x = *z;

这里bb 4在调试时看到是有两个后继bb,对于该种情况目前采用添加一条默认 Terminator 以规避此种特殊情况;且作为后续gimple支持的TODO。
因此,合入!36:[Update] Fix VectorType CallOp TreeTOValue 后即可解决该问题

纪晓慧 修改了描述
纪晓慧 删除了附件csmith.rar
纪晓慧 上传了附件csmith.zip
纪晓慧 删除了附件test.rar
纪晓慧 上传了附件test.zip

用例csmith_20230306_193858_2600.cpp使用23.03 RC4转测repo,回归结果:通过
输入图片说明
输入图片说明

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

用例csmith_20230306_193630_526.c使用23.03 RC4转测repo,回归结果:通过
输入图片说明

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

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891