https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107420
Bug ID: 107420 Summary: [13 regression] ICE when building trunk with ieee128 after r13-3307-g8efc38347a7444 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:8efc38347a7444dde3fb173f0f2c59a60b7db53d, r13-3307-g8efc38347a7444 Seen on powerpc64 when building a non-bootstrap trunk with ieee128. configure --enable-languages=c,fortran,c++ --with-cpu=power9 --disable-bootstrap --disable-multilib --with-long-double-format=ieee make . . . /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/home/seurer/gcc/git/gcc-test/libgcc -I/home/seurer/gcc/git/gcc-test/libgcc/. -I/home/seurer/gcc/git/gcc-test/libgcc/../gcc -I/home/seurer/gcc/git/gcc-test/libgcc/../include -I/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber/dpd -I/home/seurer/gcc/git/gcc-test/libgcc/../libdecnumber -DHAVE_CC_TLS -Wno-type-limits -mvsx -mfloat128 -mno-float128-hardware -mno-gnu-attribute -I/home/seurer/gcc/git/gcc-test/libgcc/soft-fp -I/home/seurer/gcc/git/gcc-test/libgcc/config/rs6000 -DFLOAT128_HW_INSNS -DFLOAT128_HW_INSNS_ISA3_1 -o _mulkc3.o -MT _mulkc3.o -MD -MP -MF _mulkc3.dep -c /home/seurer/gcc/git/gcc-test/libgcc/config/rs6000/_mulkc3.c -fvisibility=hidden -DHIDE_EXPORTS during GIMPLE pass: evrp /home/seurer/gcc/git/gcc-test/libgcc/config/rs6000/_mulkc3.c: In function '__mulkc3_sw': /home/seurer/gcc/git/gcc-test/libgcc/config/rs6000/_mulkc3.c:97:1: internal compiler error: in fold_stmt, at gimple-range-fold.cc:514 97 | } | ^ 0x11b11a83 fold_using_range::fold_stmt(vrange&, gimple*, fur_source&, tree_node*) /home/seurer/gcc/git/gcc-test/gcc/gimple-range-fold.cc:514 0x11afe213 gimple_ranger::fold_range_internal(vrange&, gimple*, tree_node*) /home/seurer/gcc/git/gcc-test/gcc/gimple-range.cc:258 0x11afe213 gimple_ranger::range_of_stmt(vrange&, gimple*, tree_node*) /home/seurer/gcc/git/gcc-test/gcc/gimple-range.cc:319 0x110a2e1b range_query::value_of_stmt(gimple*, tree_node*) /home/seurer/gcc/git/gcc-test/gcc/value-query.cc:135 0x1104d0a7 rvrp_folder::value_of_stmt(gimple*, tree_node*) /home/seurer/gcc/git/gcc-test/gcc/tree-vrp.cc:4300 0x10ed2cab substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) /home/seurer/gcc/git/gcc-test/gcc/tree-ssa-propagate.cc:816 0x11ab6def dom_walker::walk(basic_block_def*) /home/seurer/gcc/git/gcc-test/gcc/domwalk.cc:311 0x10ed1387 substitute_and_fold_engine::substitute_and_fold(basic_block_def*) /home/seurer/gcc/git/gcc-test/gcc/tree-ssa-propagate.cc:987 0x1103fd7b execute_ranger_vrp(function*, bool) /home/seurer/gcc/git/gcc-test/gcc/tree-vrp.cc:4351 commit 8efc38347a7444dde3fb173f0f2c59a60b7db53d (HEAD) Author: Aldy Hernandez <al...@redhat.com> Date: Thu Oct 13 17:51:29 2022 +0200 Implement range-op entry for __builtin_copysign.