https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92263
Bug ID: 92263 Summary: ICE in commit_one_edge_insertion, at cfgrtl.c:2087 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: riscv64-linux-gnu I see the following ICE with a cross compiler: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c -fno-tree-dce -fno-tree-forwprop -Os -ffloat-store /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c: In function ‘foo’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:21:11: warning: implicit declaration of function ‘cabsl’ [-Wimplicit-function-declaration] 21 | if (cabsl(vsorc.vqd[indx]) < 1.e-20) | ^~~~~ /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:21:11: warning: incompatible implicit declaration of built-in function ‘cabsl’ /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:1:1: note: include ‘<complex.h>’ or provide a declaration of ‘cabsl’ +++ |+#include <complex.h> 1 | /* Testcase by Martin Michlmayr <t...@cyrius.com> */ during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:27:1: internal compiler error: in commit_one_edge_insertion, at cfgrtl.c:2087 27 | } | ^ 0xa65912 commit_one_edge_insertion(edge_def*) ../../gcc/cfgrtl.c:2087 0xa659c4 commit_edge_insertions() ../../gcc/cfgrtl.c:2119 0xa47418 execute ../../gcc/cfgexpand.c:6622 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.