https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103184
Bug ID: 103184 Summary: ICE caused by r12-5102 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-linux-gnu Created attachment 51763 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51763&action=edit reproduce ICE with -O2 test.i is from glibc pthread_cancel.c > [TCWG CI] Regression caused by gcc: Improve integer bit test on > __atomic_fetch_[or|and]_* returns: > commit fb161782545224f55ba26ba663889c5e6e9a04d1 > Author: liuhongt <hongtao....@intel.com> > > Improve integer bit test on __atomic_fetch_[or|and]_* returns > > Results regressed to > # reset_artifacts: > -10 > # true: > 0 > # build_abe binutils: > 1 > # build_abe stage1: > 2 > # build_abe linux: > 3 > # First few build errors in logs: > # 00:00:51 pthread_cancel.c:60:1: error: type mismatch in binary expression > # 00:00:51 pthread_cancel.c:60:1: internal compiler error: verify_gimple > failed > # 00:00:51 make[2]: *** [../o-iterator.mk:9: > /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/aarch64-linux-gnu/glibc-glibc.git~master/nptl/pthread_cancel.o] > Error 1 > # 00:00:52 make[1]: *** [Makefile:483: nptl/subdir_lib] Error 2 > # 00:00:52 make: *** [Makefile:9: all] Error 2