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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
A small test case reduced from ibm-ldouble.c:

$ cat t.c && /build/gcc-trunk/./gcc/xgcc -B/build/gcc-trunk/./gcc/
-B/usr/local/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/powerpc64-unknown-linux-gnu/lib -m32 -Wall -Wextra -Wpedantic
-mlong-double-128 -c -O2 t.c
long double pack_ldouble (double dh, double dl)
{
  return __builtin_pack_longdouble (dh, dl);
}
t.c: In function ‘pack_ldouble’:
t.c:4:1: error: insn does not satisfy its constraints:
 }
 ^

(insn 11 7 12 2 (set (reg/i:TF 33 1)
        (unspec:TF [
                (reg:DF 33 1 [ dh ])
                (reg:DF 34 2 [ dl ])
            ] UNSPEC_PACK_128BIT)) t.c:4 914 {packtf}
     (nil))
t.c:4:1: internal compiler error: in extract_constrain_insn_cached, at
recog.c:2201
0x10bccc7f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /src/gcc-trunk/gcc/rtl-error.c:108
0x10bccd13 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /src/gcc-trunk/gcc/rtl-error.c:119
0x10b52317 extract_constrain_insn_cached(rtx_insn*)
        /src/gcc-trunk/gcc/recog.c:2201
0x113aaf2b get_attr_type(rtx_insn*)
        /src/gcc-trunk/gcc/config/rs6000/vsx.md:1572
0x11236f4b insn_must_be_first_in_group
        /src/gcc-trunk/gcc/config/rs6000/rs6000.c:29812
0x11234e83 rs6000_adjust_priority
        /src/gcc-trunk/gcc/config/rs6000/rs6000.c:29117
0x11737c57 adjust_priority
        /src/gcc-trunk/gcc/haifa-sched.c:3135
0x1174970b try_ready(rtx_insn*)
        /src/gcc-trunk/gcc/haifa-sched.c:7725
0x10bf37a7 init_ready_list
        /src/gcc-trunk/gcc/sched-rgn.c:2126
0x11745137 schedule_block(basic_block_def**, void*)
        /src/gcc-trunk/gcc/haifa-sched.c:6608
0x10bf82ef schedule_region
        /src/gcc-trunk/gcc/sched-rgn.c:3176
0x10bf9887 schedule_insns()
        /src/gcc-trunk/gcc/sched-rgn.c:3513
0x10bfa763 rest_of_handle_sched
        /src/gcc-trunk/gcc/sched-rgn.c:3717
0x10bfaa93 execute
        /src/gcc-trunk/gcc/sched-rgn.c:3825
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to