https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126649

            Bug ID: 126649
           Summary: ICE in libquadmath/math/rem_pio2q.c and other multiple
                    places in Power9LE 64-bit starting from -
                    r17-2929-g1e5aaad93d8426
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: libquadmath
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kishan at gcc dot gnu.org
                CC: aldyh at gcc dot gnu.org, jskumari at gcc dot gnu.org,
                    meissner at gcc dot gnu.org, segher at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64le-linux-gnu

gcc-trunk/libquadmath/math/rem_pio2q.c:509:1: internal compiler error: Aborted
  509 | __quadmath_rem_pio2q (__float128 x, __float128 *y)
      | ^~~~~~~~~~~~~~~~~~~~
0x12640917 internal_error(char const*, ...)
        ../../gcc-trunk/gcc/diagnostic-global-context.cc:787
0x10e4ef33 crash_signal
        ../../gcc-trunk/gcc/toplev.cc:325
0x744476cb55fc __pthread_kill_implementation
        ./nptl/pthread_kill.c:44
0x744476cb55fc __pthread_kill_internal
        ./nptl/pthread_kill.c:78
0x744476cb55fc __GI___pthread_kill
        ./nptl/pthread_kill.c:89
0x744476c4bd5b __GI_raise
        ../sysdeps/posix/raise.c:26
0x744476c2645b __GI_abort
        ./stdlib/abort.c:79
0x744476ca0927 __libc_message_impl
        ../sysdeps/posix/libc_fatal.c:134
0x744476d7cdf3 __GI___fortify_fail
        ./debug/fortify_fail.c:24
0x744476d7e3af __stack_chk_fail
        ./debug/stack_chk_fail.c:24
0x10d53123 real_nextafter(real_value*, format_helper, real_value const*,
real_value const*)
        ../../gcc-trunk/gcc/real.cc:5449
0x10d2a5e3 frange_nextafter(machine_mode, real_value&, real_value const&)
        ../../gcc-trunk/gcc/range-op-float.cc:314
0x1138d917 frange_fusible_p
        ../../gcc-trunk/gcc/value-range.cc:1041
0x1138d917 frange_fusible_p
        ../../gcc-trunk/gcc/value-range.cc:1035
0x1138d917 frange::set_pairs(frange_pair*, unsigned int)
        ../../gcc-trunk/gcc/value-range.cc:1129
0x1138e857 frange::union_(vrange const&)
        ../../gcc-trunk/gcc/value-range.cc:1394
0x10d2cf5b float_widen_lhs_range
        ../../gcc-trunk/gcc/range-op-float.cc:2430
0x10d2d3df operator_minus::op2_range(frange&, tree_node*, frange const&, frange
const&, relation_trio) const
        ../../gcc-trunk/gcc/range-op-float.cc:2516
0x10cfb93f range_op_handler::op2_range(vrange&, tree_node*, vrange const&,
vrange const&, relation_trio) const
        ../../gcc-trunk/gcc/range-op.cc:372
0x108f6983 gimple_range_op_handler::calc_op2(vrange&, vrange const&, vrange
const&, relation_trio)
        ../../gcc-trunk/gcc/gimple-range-op.cc:256


*** stack smashing detected ***: terminated
during GIMPLE pass: evrp
../../../gcc-trunk/libquadmath/math/fmaq.c: In function ‘fmaq’:
../../../gcc-trunk/libquadmath/math/fmaq.c:292:1: internal compiler error:
Aborted
  292 | }
      | ^

Reply via email to