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/34191] Using gcc with -mptr64 option on Solaris 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669


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

--- Comment #8 from Zdenek Sojka <zsojka at seznam dot cz> ---
And also when using -mcmodel=32 with a 64bit target:
$ sparc64-unknown-linux-gnu-gcc -mcmodel=32 tmp.i -w
/repo/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/20000403-1.c: In function
'main':
/repo/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/20000403-1.c:9:9: internal
compiler error: in sparc_emit_set_symbolic_const64, at
config/sparc/sparc.c:2085
   if (! seqgt (*aa, 0x1000, *bb) || ! seqgt2 (*aa, 0x1000, *bb))
         ^~~~~~~~~~~~~~~~~~~~~~~~

0xe32533 sparc_emit_set_symbolic_const64(rtx_def*, rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/config/sparc/sparc.c:2085
0xe32e4e sparc_emit_set_const64
        /repo/gcc-trunk/gcc/config/sparc/sparc.c:2442
0xe358b9 sparc_expand_move(machine_mode, rtx_def**)
        /repo/gcc-trunk/gcc/config/sparc/sparc.c:1830
0xf2cda6 gen_movdi(rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/config/sparc/sparc.md:1579
0x7b84ba insn_gen_fn::operator()(rtx_def*, rtx_def*) const
        /repo/gcc-trunk/gcc/recog.h:301
0x7b84ba emit_move_insn_1(rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/expr.c:3490
0x7b8814 emit_move_insn(rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/expr.c:3585
0x797a7b copy_to_suggested_reg(rtx_def*, rtx_def*, machine_mode)
        /repo/gcc-trunk/gcc/explow.c:720
0x7976a0 memory_address_addr_space(machine_mode, rtx_def*, unsigned char)
        /repo/gcc-trunk/gcc/explow.c:415
0x77a54c change_address_1
        /repo/gcc-trunk/gcc/emit-rtl.c:2127
0x7b2de1 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /repo/gcc-trunk/gcc/expr.c:9672
0x7b0dda expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /repo/gcc-trunk/gcc/expr.c:10227
0x7c0729 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
        /repo/gcc-trunk/gcc/expr.c:5408
0x7c30f4 expand_assignment(tree_node*, tree_node*, bool)
        /repo/gcc-trunk/gcc/expr.c:5174
0x696c0d expand_gimple_stmt_1
        /repo/gcc-trunk/gcc/cfgexpand.c:3606
0x696c0d expand_gimple_stmt
        /repo/gcc-trunk/gcc/cfgexpand.c:3702
0x6991ad expand_gimple_basic_block
        /repo/gcc-trunk/gcc/cfgexpand.c:5708
0x69e926 execute
        /repo/gcc-trunk/gcc/cfgexpand.c:6323
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.

This switch is undocumented as well.

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