https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105023
Bug ID: 105023 Summary: new test case g++.dg/other/pr104989.C ICEs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:6adbb51eaa85f5bfed1ee06327daca306d48986d, r12-7749-g6adbb51eaa85f5 make -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/other/pr104989.C" FAIL: g++.dg/other/pr104989.C -std=gnu++98 (internal compiler error: Segmentation fault signal terminated program cc1plus) FAIL: g++.dg/other/pr104989.C -std=gnu++14 (internal compiler error: Segmentation fault signal terminated program cc1plus) FAIL: g++.dg/other/pr104989.C -std=gnu++17 (internal compiler error: Segmentation fault signal terminated program cc1plus) FAIL: g++.dg/other/pr104989.C -std=gnu++20 (internal compiler error: Aborted signal terminated program cc1plus) FAIL: g++.dg/other/pr104989.C -std=gnu++20 1 blank line(s) in output spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/other/pr104989.C -fdiagnostics-plain-output -nostdinc++ -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++20 -fnon-call-exceptions -S -o pr104989.s /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/other/pr104989.C:6:9: warning: width of 'a::b' exceeds its type during RTL pass: expand *** Error in `/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../cc1plus': free(): corrupted unsorted chunks: 0x0000000012f22e30 *** /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/other/pr104989.C: In function 'void c(...)': *** Error in `/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../cc1plus': double free or corruption (!prev): 0x0000000012f22e30 *** xg++: internal compiler error: Aborted signal terminated program cc1plus commit 6adbb51eaa85f5bfed1ee06327daca306d48986d (HEAD, refs/bisect/bad) Author: Jakub Jelinek <ja...@redhat.com> Date: Tue Mar 22 08:39:40 2022 +0100 calls: Fix error recovery after sorry differently [PR104989]