From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10116 invoked by alias); 8 Nov 2008 21:31:00 -0000 Received: (qmail 31088 invoked by uid 48); 8 Nov 2008 21:29:46 -0000 Date: Sat, 08 Nov 2008 21:31:00 -0000 Message-ID: <20081108212946.31086.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37323] [4.4 Regression] __builtin_apply failures In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "danglin at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00648.txt.bz2 ------- 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 to continue, or q 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