This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/78658] New: powerpc64le: ICE with -mcpu=power9 -Og


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

            Bug ID: 78658
           Summary: powerpc64le: ICE with -mcpu=power9 -Og
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anton at samba dot org
                CC: meissner at gcc dot gnu.org, segher at gcc dot gnu.org,
                    wschmidt at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64le-linux

The following test case:

float a;
char b;
void c(void) { a = b = a; }

when built with:

gcc -Og -mcpu=power9 crash1.i

hits an ICE:

crash1.i: In function ‘c’:
crash1.i:3:1: error: unrecognizable insn:
 void c(void) { a = b = a; }
 ^~~~
(insn 20 10 21 2 (set (scratch:DI)
        (zero_extend:DI (reg:QI 32 0 [159]))) "crash1.i":3 -1
     (nil))
crash1.i:3:1: internal compiler error: in extract_insn, at recog.c:2311
0x1086d6d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/gcc/rtl-error.c:108
0x1086d737 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/gcc/rtl-error.c:116
0x108316b7 extract_insn(rtx_insn*)
        ../../gcc/gcc/recog.c:2311
0x1083177f extract_insn_cached(rtx_insn*)
        ../../gcc/gcc/recog.c:2201
0x10514737 cleanup_subreg_operands(rtx_insn*)
        ../../gcc/gcc/final.c:3138
0x1082e817 split_insn
        ../../gcc/gcc/recog.c:2925
0x108349bf split_all_insns()
        ../../gcc/gcc/recog.c:2978
0x10834aa7 rest_of_handle_split_before_sched2
        ../../gcc/gcc/recog.c:4019
0x10834aa7 execute
        ../../gcc/gcc/recog.c:4058

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]