public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63424] New: Octave -O3 build: internal compiler error: in prepare_cmp_insn, at optabs.c:4237
@ 2014-10-01  8:43 david.sherwood at arm dot com
  2014-10-21 14:08 ` [Bug target/63424] " renlin.li at arm dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: david.sherwood at arm dot com @ 2014-10-01  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63424
           Summary: Octave -O3 build: internal compiler error: in
                    prepare_cmp_insn, at optabs.c:4237
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.sherwood at arm dot com

Created attachment 33634
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33634&action=edit
A reduced test case from the Octave build failure

Whilst building Octave with CFLAGS="-O3 -pipe" on target aarch64-linux-gnu I
got the following compiler error:

internal compiler error: in prepare_cmp_insn, at optabs.c:4237
     ival = truncate_int (static_cast<unsigned long long> (ival)   
     ^
0xb2b205 prepare_cmp_insn
    /work/davshe01/oban-work/src/gcc/gcc/optabs.c:4237
0xb2b288 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, int)
    /work/davshe01/oban-work/src/gcc/gcc/optabs.c:4381
0x8d3019 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_def*, rtx_def*, int)
    /work/davshe01/oban-work/src/gcc/gcc/dojump.c:1135
0x95c9bf expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:8855
0x94ff1f expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:9428
0x958a00 expand_expr
    /work/davshe01/oban-work/src/gcc/gcc/expr.h:451
0x958a00 expand_operands
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:7541
0x95bc92 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:9233
0x94ff1f expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:9428
0x959945 store_expr(tree_node*, rtx_def*, int, bool)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:5337
0x960cbf expand_assignment(tree_node*, tree_node*, bool)
    /work/davshe01/oban-work/src/gcc/gcc/expr.c:5123
0x876a0b expand_gimple_stmt_1
    /work/davshe01/oban-work/src/gcc/gcc/cfgexpand.c:3274
0x876a0b expand_gimple_stmt
    /work/davshe01/oban-work/src/gcc/gcc/cfgexpand.c:3370
0x87ca33 expand_gimple_basic_block
    /work/davshe01/oban-work/src/gcc/gcc/cfgexpand.c:5209
0x87e5d6 execute
    /work/davshe01/oban-work/src/gcc/gcc/cfgexpand.c:5815
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.

I have attached a reduced test case,
Thanks,
David Sherwood.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-13 16:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-01  8:43 [Bug c++/63424] New: Octave -O3 build: internal compiler error: in prepare_cmp_insn, at optabs.c:4237 david.sherwood at arm dot com
2014-10-21 14:08 ` [Bug target/63424] " renlin.li at arm dot com
2014-10-22  8:58 ` renlin.li at arm dot com
2014-10-28 10:11 ` renlin.li at arm dot com
2014-11-19 16:35 ` renlin at gcc dot gnu.org
2014-11-27 14:30 ` [Bug target/63424] [4.9 regression] " ramana at gcc dot gnu.org
2015-01-13 16:25 ` renlin at gcc dot gnu.org
2015-01-13 16:32 ` renlin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).