public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/55597] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88
Date: Wed, 05 Dec 2012 17:28:00 -0000	[thread overview]
Message-ID: <bug-55597-4-NBD6jQVurC@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55597-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55597

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-05 17:28:11 UTC ---
It is generated by

(gdb) bt
#0  set_unique_reg_note (insn=0x7ffff19a07e0, kind=REG_EQUAL, 
    datum=0x7ffff1ab4460) at /export/gnu/import/git/gcc/gcc/emit-rtl.c:4958
#1  0x0000000000726f1b in set_dst_reg_note (insn=0x7ffff19a07e0, 
    kind=REG_EQUAL, datum=0x7ffff1ab4460, dst=0x7ffff1ab44c0)
    at /export/gnu/import/git/gcc/gcc/emit-rtl.c:5018
#2  0x0000000000949cbb in emit_libcall_block_1 (insns=0x7ffff1ab2730, 
    target=0x7ffff1ab44c0, result=0x7ffff1ab4500, equiv=0x7ffff1ab4460, 
    equiv_may_trap=false) at /export/gnu/import/git/gcc/gcc/optabs.c:3936
#3  0x0000000000949d10 in emit_libcall_block (insns=0x7ffff1ab2730, 
    target=0x7ffff1ab44c0, result=0x7ffff1ab4500, equiv=0x7ffff1ab4460)
    at /export/gnu/import/git/gcc/gcc/optabs.c:3945
#4  0x0000000000d082fa in legitimize_tls_address (x=0x7ffff1ab4460, 
    model=TLS_MODEL_REAL, for_mov=true)
    at /export/gnu/import/git/gcc/gcc/config/i386/i386.c:12805
#5  0x0000000000d0f4bb in ix86_expand_move (mode=SImode, 
    operands=0x7fffffffc920)
    at /export/gnu/import/git/gcc/gcc/config/i386/i386.c:15936
#6  0x0000000000dc1b60 in gen_movsi (operand0=0x7ffff1ab44a0, 
    operand1=0x7ffff1aac2f0)
    at /export/gnu/import/git/gcc/gcc/config/i386/i386.md:1701
#7  0x0000000000750380 in emit_move_insn_1 (x=0x7ffff1ab44a0, y=0x7ffff1aac2f0)
    at /export/gnu/import/git/gcc/gcc/expr.c:3417
#8  0x00000000007507cd in emit_move_insn (x=0x7ffff1ab44a0, y=0x7ffff1aac2f0)
---Type <return> to continue, or q <return> to quit---
    at /export/gnu/import/git/gcc/gcc/expr.c:3511
#9  0x0000000000733def in copy_to_mode_reg (mode=SImode, x=0x7ffff1aac2f0)
    at /export/gnu/import/git/gcc/gcc/explow.c:645
#10 0x00000000009537f9 in maybe_legitimize_operand (
    icode=CODE_FOR_zero_extendsidi2, opno=1, op=0x7fffffffcad0)
    at /export/gnu/import/git/gcc/gcc/optabs.c:8069
#11 0x0000000000953ac8 in maybe_legitimize_operands (
    icode=CODE_FOR_zero_extendsidi2, opno=0, nops=2, ops=0x7fffffffcac0)
    at /export/gnu/import/git/gcc/gcc/optabs.c:8131
#12 0x0000000000953b5b in maybe_gen_insn (icode=CODE_FOR_zero_extendsidi2, 
    nops=2, ops=0x7fffffffcac0) at /export/gnu/import/git/gcc/gcc/optabs.c:8149
#13 0x0000000000949697 in maybe_emit_unop_insn (
    icode=CODE_FOR_zero_extendsidi2, target=0x7ffff1ab4480, 
    op0=0x7ffff1aac2f0, code=ZERO_EXTEND)
    at /export/gnu/import/git/gcc/gcc/optabs.c:3765
#14 0x000000000094976b in emit_unop_insn (icode=CODE_FOR_zero_extendsidi2, 
    target=0x7ffff1ab4480, op0=0x7ffff1aac2f0, code=ZERO_EXTEND)
    at /export/gnu/import/git/gcc/gcc/optabs.c:3787
#15 0x0000000000748f7a in convert_move (to=0x7ffff1ab4480, 
    from=0x7ffff1aac2f0, unsignedp=1)
    at /export/gnu/import/git/gcc/gcc/expr.c:607

(gdb) f 2
#2  0x0000000000949cbb in emit_libcall_block_1 (insns=0x7ffff1ab2730, 
    target=0x7ffff1ab44c0, result=0x7ffff1ab4500, equiv=0x7ffff1ab4460, 
    equiv_may_trap=false) at /export/gnu/import/git/gcc/gcc/optabs.c:3936
3936      set_dst_reg_note (last, REG_EQUAL, copy_rtx (equiv), target);
(gdb) call debug_rtx (last)
(insn 6 5 0 (set (reg:DI 61)
        (reg:DI 0 ax)) x.i:8 -1
     (nil))
(gdb) call debug_rtx (equiv)
(symbol_ref:SI ("__morestack_initial_sp") [flags 0x10] <var_decl 0x7ffff19bf390
__morestack_initial_sp>)
(gdb)


  parent reply	other threads:[~2012-12-05 17:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 21:01 [Bug middle-end/55597] New: " hjl.tools at gmail dot com
2012-12-04 22:29 ` [Bug middle-end/55597] " hjl.tools at gmail dot com
2012-12-04 22:52 ` bonzini at gnu dot org
2012-12-04 23:25 ` [Bug target/55597] " steven at gcc dot gnu.org
2012-12-04 23:46 ` [Bug target/55597] " steven at gcc dot gnu.org
2012-12-04 23:50 ` [Bug middle-end/55597] " hjl.tools at gmail dot com
2012-12-05 11:34 ` [Bug middle-end/55597] [4.8 Regression] " ebotcazou at gcc dot gnu.org
2012-12-05 17:28 ` hjl.tools at gmail dot com [this message]
2012-12-05 17:56 ` hjl.tools at gmail dot com
2012-12-05 20:46 ` ubizjak at gmail dot com
2012-12-06  0:22 ` hjl.tools at gmail dot com
2012-12-06 15:05 ` jakub at gcc dot gnu.org
2012-12-06 20:14 ` ubizjak at gmail dot com
2012-12-06 22:05 ` uros at gcc dot gnu.org
2012-12-07  3:44 ` hjl.tools at gmail dot com
2012-12-07  8:11 ` uros at gcc dot gnu.org
2012-12-07  8:21 ` ubizjak at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55597-4-NBD6jQVurC@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).