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/79947] New: [6/7 Regression] ICE in rs6000_emit_swsqrt at gcc/config/rs6000/rs6000.c:37570


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

            Bug ID: 79947
           Summary: [6/7 Regression] ICE in rs6000_emit_swsqrt at
                    gcc/config/rs6000/rs6000.c:37570
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
            Target: ppc64-linux-gnu

Using cross-compiler for ppc64-linux-gnu (on x86_64-linux-gnu) I see:

ppc64-linux-gnu-gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c
-Ofast -mno-powerpc-gfxopt -mcmpb -c
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c: In
function ‘test_float_sqrt’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/powerpc/vsx-mass-1.c:518:13:
internal compiler error: Segmentation fault
     f1[i] = __builtin_sqrtf (f2[i]);
             ^~~~~~~~~~~~~~~~~~~~~~~
0xb7b6cf crash_signal
        .././../gcc/toplev.c:337
0x845b9d emit_move_insn(rtx_def*, rtx_def*)
        .././../gcc/expr.c:3697
0xed6c7c rs6000_emit_swsqrt(rtx_def*, rtx_def*, bool)
        .././../gcc/config/rs6000/rs6000.c:37570
0x104722a gen_sqrtsf2(rtx_def*, rtx_def*)
        .././../gcc/config/rs6000/rs6000.md:4612
0xa85ac8 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
        .././../gcc/optabs.c:7078
0xa85ac8 expand_insn(insn_code, unsigned int, expand_operand*)
        .././../gcc/optabs.c:7109
0x95cb84 expand_direct_optab_fn
        .././../gcc/internal-fn.c:2550
0x735a6d expand_call_stmt
        .././../gcc/cfgexpand.c:2584
0x735a6d expand_gimple_stmt_1
        .././../gcc/cfgexpand.c:3571
0x735a6d expand_gimple_stmt
        .././../gcc/cfgexpand.c:3737
0x73729e expand_gimple_basic_block
        .././../gcc/cfgexpand.c:5744
0x73d0b6 execute
        .././../gcc/cfgexpand.c:6357

GCC 5 works fone.

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