【标题描述】
-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 | }
| ^
【附件信息】
附件如下:
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
已修复,不会出现internal compiler error: Aborted。
合入PR:!33:[sync] PR-32: [sync] Sync patch from openEuler/pin-gcc-client
-fnon-call-exceptions和-fexceptions选项编译报ICE:internal compiler error: Aborted
用例在附件test.zip
@纪晓慧 该问题是因为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_20230306_193858_2600.cpp使用23.03 RC4转测repo,回归结果:通过
用例csmith_20230306_193630_526.c使用23.03 RC4转测repo,回归结果:通过
登录 后才可以发表评论