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 rtl-optimization/84302] New: ICE: Segmentation fault (in extract_insn) on SPE target


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

            Bug ID: 84302
           Summary: ICE: Segmentation fault (in extract_insn) on SPE
                    target
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpcspe-*-linux-gnu*

gcc-8.0.0-alpha20180204 snapshot (r257367) ICEs when compiling the following
snippet w/ -O1 (-Og) -fgcse -fno-dce -fno-tree-pta --param max-cse-insns=10:

long long int rd;

void
bz (int *yj, int kz)
{
  for (;;)
    {
      rd *= 3;
      if (rd == kz)
        rd += *yj;
      ++rd;
    }
}

% powerpc-e500v2-linux-gnuspe-gcc-8.0.0-alpha20180204 -O1 -fgcse -fno-dce
-fno-tree-pta --param max-cse-insns=10 -c trlvou7e.c
during RTL pass: subreg2
trlvou7e.c: In function 'bz':
trlvou7e.c:13:1: internal compiler error: Segmentation fault
 }
 ^
0xc48059 crash_signal
       
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180204/work/gcc-8-20180204/gcc/toplev.c:325
0xb9293a extract_insn(rtx_insn*)
       
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180204/work/gcc-8-20180204/gcc/recog.c:2319
0x148d5a2 decompose_multiword_subregs
       
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180204/work/gcc-8-20180204/gcc/lower-subreg.c:1474
0x148eb6c execute
       
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180204/work/gcc-8-20180204/gcc/lower-subreg.c:1741

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