public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/37323] [4.4 Regression] __builtin_apply failures
Date: Sat, 08 Nov 2008 21:31:00 -0000	[thread overview]
Message-ID: <20081108212946.31086.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37323-276@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from danglin at gcc dot gnu dot org  2008-11-08 21:29 -------
It seems the insn to initialize reg:DI 69 is being emitted, but it appears
that it is done too early and gets lost.

Breakpoint 8, emit_insn (x=0x800003fffdfc5c80)
    at ../../gcc/gcc/emit-rtl.c:4415
4415      rtx last = last_insn;
(gdb) bt
#0  emit_insn (x=0x800003fffdfc5c80) at ../../gcc/gcc/emit-rtl.c:4415
#1  0x4000000002cff6cc in emit_move_sequence (operands=0x800003fffdff1950, 
    mode=Cannot access memory at address 0xc001002000000007
) at ../../gcc/gcc/config/pa/pa.c:1732
#2  0x400000000311530c in gen_movdi (operand0=0x800003fffdfc5c80, 
    operand1=0x800003fffdfc5c60) at ../../gcc/gcc/config/pa/pa.md:4357
#3  0x4000000000d991fc in emit_move_insn_1 (x=0x800003fffdfc5c80, 
    y=0x800003fffdfc5c60) at ../../gcc/gcc/expr.c:3355
#4  0x4000000000d999f0 in emit_move_insn (x=Cannot access memory at address
0xc001001fffffffff
) at ../../gcc/gcc/expr.c:3443
#5  0x4000000000d22f44 in copy_to_reg (x=0x800003fffdfc5c80)
    at ../../gcc/gcc/explow.c:596
#6  0x4000000001886058 in default_internal_arg_pointer ()
    at ../../gcc/gcc/targhooks.c:573
#7  0x4000000000f6ae1c in assign_parms (fndecl=0x800003fffdff1950)
    at ../../gcc/gcc/function.c:2998
#8  0x4000000000f71b38 in expand_function_start (subr=0x800003fffdff1950)
    at ../../gcc/gcc/function.c:4316
#9  0x400000000327a538 in gimple_expand_cfg ()
    at ../../gcc/gcc/cfgexpand.c:2351
#10 0x4000000001380118 in execute_one_pass (pass=0x800003fffdff1950)
    at ../../gcc/gcc/passes.c:1279
#11 0x40000000013804ec in execute_pass_list (pass=0x800003fffdfc5c80)
    at ../../gcc/gcc/passes.c:1328
#12 0x4000000001d5f9c8 in tree_rest_of_compilation (fndecl=0x800003fffdff1950)
---Type <return> to continue, or q <return> to quit---
    at ../../gcc/gcc/tree-optimize.c:418
#13 0x4000000002dc6ae0 in cgraph_expand_function (node=0x800003fffdff1950)
    at ../../gcc/gcc/cgraphunit.c:1038
#14 0x4000000002dc6e18 in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1097
#15 0x4000000002dc7960 in cgraph_optimize ()
    at ../../gcc/gcc/cgraphunit.c:1302
#16 0x40000000005f84e4 in c_write_global_declarations ()
    at ../../gcc/gcc/c-decl.c:8074
#17 0x40000000018c30c0 in compile_file () at ../../gcc/gcc/toplev.c:979
#18 0x40000000018c700c in do_compile () at ../../gcc/gcc/toplev.c:2191
#19 0x40000000018c712c in toplev_main (argc=16, argv=0x800003fffdff0648)
    at ../../gcc/gcc/toplev.c:2223
#20 0x400000000085a0e4 in main (argc=1310720, argv=0x800003fffdfc5c60)
    at ../../gcc/gcc/main.c:35
(gdb) p debug_rtx (x)
(set (reg/f:DI 69)
    (reg/f:DI 61 virtual-incoming-args))


-- 


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


  parent reply	other threads:[~2008-11-08 21:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 19:50 [Bug middle-end/37323] New: " danglin at gcc dot gnu dot org
2008-09-01 19:54 ` [Bug middle-end/37323] " danglin at gcc dot gnu dot org
2008-09-02 11:36 ` rguenth at gcc dot gnu dot org
2008-10-22  3:06 ` mmitchel at gcc dot gnu dot org
2008-11-08  2:04 ` danglin at gcc dot gnu dot org
2008-11-08 17:29 ` danglin at gcc dot gnu dot org
2008-11-08 19:00 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-08 19:39 ` danglin at gcc dot gnu dot org
2008-11-08 21:31 ` danglin at gcc dot gnu dot org [this message]
2008-11-08 21:41 ` danglin at gcc dot gnu dot org
2008-11-08 21:48 ` danglin at gcc dot gnu dot org
2008-11-09 10:58 ` jakub at gcc dot gnu dot org
2008-11-09 16:30 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-10 14:55 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-10 18:07 ` jakub at gcc dot gnu dot org
2008-11-22  8:31 ` jakub at gcc dot gnu dot org
2008-11-22  8:33 ` jakub at gcc dot gnu dot org

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=20081108212946.31086.qmail@sourceware.org \
    --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).