https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108449
Bug ID: 108449 Summary: [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20220904 and 20220911, at -O1+ : $ cat z1.c static int vfork(); void f() { vfork(); } $ gcc-13-20230115 -c z1.c -O2 z1.c:1:12: warning: 'vfork' used but never defined 1 | static int vfork(); | ^~~~~ during GIMPLE pass: cddce z1.c: In function 'f': z1.c:2:1: internal compiler error: in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 2 | void f() { vfork(); } | ^~~~ 0xe0f0dc eliminate_unnecessary_stmts ../../gcc/tree-ssa-dce.cc:1512 0xe108bf perform_tree_ssa_dce ../../gcc/tree-ssa-dce.cc:1945 0xe11e55 tree_ssa_cd_dce ../../gcc/tree-ssa-dce.cc:1986 0xe11e55 execute ../../gcc/tree-ssa-dce.cc:2069