From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4753 invoked by alias); 8 Nov 2008 19:39:53 -0000 Received: (qmail 26353 invoked by uid 48); 8 Nov 2008 19:38:43 -0000 Date: Sat, 08 Nov 2008 19:39:00 -0000 Message-ID: <20081108193843.26348.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/msg00636.txt.bz2 ------- Comment #6 from danglin at gcc dot gnu dot org 2008-11-08 19:38 ------- Starting program: /test/gnu/gcc/objdir/stage1-gcc/cc1 -iprefix /test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.4.0/ -isystem /test/gnu/gcc/objdir/gcc/include -isystem /test/gnu/gcc/objdir/gcc/include-fixed /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c -dumpbase builtin-apply4.c -auxbase-strip ./builtin-apply4.s -O2 -version -o ./builtin-apply4.s warning: Private mapping of shared library text was not specified by the executable; setting a breakpoint in a shared library which is not privately mapped will not work. See the HP-UX 11i v3 chatr manpage for methods to privately map shared library text. warning: Loadable segment ".tbss" outside of ELF segments warning: Loadable segment ".tbss" outside of ELF segments GNU C (GCC) version 4.4.0 20081108 (experimental) [trunk revision 141703] (hppa64-hp-hpux11.11) compiled by GNU C version 4.3.2, GMP version 4.2.3, MPFR version 2.3.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 options passed: -iprefix /test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.4.0/ -isystem /test/gnu/gcc/objdir/gcc/include -isystem /test/gnu/gcc/objdir/gcc/include-fixed /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c -auxbase-strip ./builtin-apply4.s -O2 options enabled: -fPIC -falign-functions -falign-jumps -falign-labels -fargument-alias -fauto-inc-dec -fbranch-count-reg -fcaller-saves -fcommon -fcprop-registers -fcrossjumping -fcse-follow-jumps -fdefer-pop -fdelayed-branch -fdelete-null-pointer-checks -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types -fexpensive-optimizations -fforward-propagate -ffunction-cse -fgcse -fgcse-lm -fguess-branch-probability -fident -fif-conversion -fif-conversion2 -findirect-inlining -finline -finline-functions-called-once -finline-small-functions -fipa-cp -fipa-pure-const -fipa-reference -fira -fira-share-save-slots -fira-share-spill-slots -fivopts -fkeep-static-consts -fleading-underscore -fmath-errno -fmerge-constants -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer -foptimize-register-move -foptimize-sibling-calls -fpeephole -fpeephole2 -freg-struct-return -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fsched-stalled-insns-dep -fschedule-insns -fschedule-insns2 -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types -fstrict-aliasing -fstrict-overflow -fthread-jumps -ftoplevel-reorder -ftrapping-math -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops= -ftree-pre -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-sra -ftree-switch-conversion -ftree-ter -ftree-vect-loop-version -ftree-vrp -funit-at-a-time -fvar-tracking -fzero-initialized-in-bss -mbig-switch -mgas -mspace-regs Compiler executable checksum: 179292e5c700da1abd8b505954c7109b foo bar main Analyzing compilation unit Performing interprocedural optimizations Assembling functions: foo bar Breakpoint 1, emit_move_sequence (operands=0x800003fffdff8980, mode=DImode, scratch_reg=0x0) at ../../gcc/gcc/config/pa/pa.c:1422 1422 register rtx operand0 = operands[0]; (gdb) p debug_rtx (operands[0]) (reg:DI 72) $6 = void (gdb) p debug_rtx (operands[1]) (reg/f:DI 69) $7 = void (gdb) bt #0 emit_move_sequence (operands=0x800003fffdff8980, mode=DImode, scratch_reg=0x0) at ../../gcc/gcc/config/pa/pa.c:1422 #1 0x400000000311530c in gen_movdi (operand0=0x800003fffddb8b20, operand1=Cannot access memory at address 0x2b ) at ../../gcc/gcc/config/pa/pa.md:4357 #2 0x4000000000d991fc in emit_move_insn_1 (x=0x800003fffddb8b20, y=Cannot access memory at address 0x2b ) at ../../gcc/gcc/expr.c:3355 #3 0x4000000000d999f0 in emit_move_insn (x=0x800003fffdff8980, y=0x800003fffdfc5c60) at ../../gcc/gcc/expr.c:3443 #4 0x4000000000d22f44 in copy_to_reg (x=0x800003fffddb8b20) at ../../gcc/gcc/explow.c:596 #5 0x400000000090be78 in expand_builtin_apply_args_1 () at ../../gcc/gcc/builtins.c:1376 #6 0x400000000090c05c in expand_builtin_apply_args () at ../../gcc/gcc/builtins.c:1424 #7 0x400000000092baa8 in expand_builtin (exp=0x800003fffdff8980, target=0x8000a2f20, subtarget=0x800003fffdff88e0, mode=Cannot access memory at address 0x3b ) at ../../gcc/gcc/builtins.c:6322 #8 0x4000000000dc0560 in expand_expr_real_1 (exp=0x800003fffdff8980, target=Cannot access memory at address 0x10 ) at ../../gcc/gcc/expr.c:8065 #9 0x4000000000db19d4 in expand_expr_real (exp=0x800003fffdff8980, target=0x800003fffdfc5c60, tmode=Cannot access memory at address 0x33 ) at ../../gcc/gcc/expr.c:7115 #10 0x4000000000d9faa4 in store_expr (exp=0x800003fffdff8980, target=0x8000a2f20, call_param_p=-2147482625, nontemporal=Cannot access memory at address 0x3b ) ---Type to continue, or q to quit--- at ../../gcc/gcc/expr.c:4611 #11 0x4000000000d9de38 in expand_assignment (to=0x800003fffdff8980, from=0x8000a2f20, nontemporal=Cannot access memory at address 0x50 ) at ../../gcc/gcc/expr.c:4395 #12 0x4000000000dd8678 in expand_expr_real_1 (exp=0x800003fffdff8980, target=Cannot access memory at address 0x10 ) at ../../gcc/gcc/expr.c:9214 #13 0x4000000000db19d4 in expand_expr_real (exp=0x800003fffdff8980, target=0x800003fffdfc5c60, tmode=Cannot access memory at address 0x33 ) at ../../gcc/gcc/expr.c:7115 #14 0x4000000001834848 in expand_expr (exp=0x800003fffddb8b20, target=0x800003fffdfc5c60, mode=2147484671, modifier=2147484671) at ../../gcc/gcc/expr.h:538 #15 0x4000000001842708 in expand_expr_stmt (exp=0x800003fffdff8980) at ../../gcc/gcc/stmt.c:1352 #16 0x4000000003278730 in expand_gimple_basic_block (bb=0x800003fffdff8980) at ../../gcc/gcc/cfgexpand.c:1980 #17 0x400000000327a910 in gimple_expand_cfg () at ../../gcc/gcc/cfgexpand.c:2377 #18 0x4000000001380118 in execute_one_pass (pass=0x800003fffdff8980) at ../../gcc/gcc/passes.c:1279 #19 0x40000000013804ec in execute_pass_list (pass=0x800003fffddb8b20) at ../../gcc/gcc/passes.c:1328 #20 0x4000000001d5f9c8 in tree_rest_of_compilation (fndecl=0x800003fffdff8980) at ../../gcc/gcc/tree-optimize.c:418 #21 0x4000000002dc6ae0 in cgraph_expand_function (node=0x800003fffdff8980) ---Type to continue, or q to quit--- at ../../gcc/gcc/cgraphunit.c:1038 #22 0x4000000002dc6e18 in cgraph_expand_all_functions () at ../../gcc/gcc/cgraphunit.c:1097 #23 0x4000000002dc7960 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1302 #24 0x40000000005f84e4 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:8074 #25 0x40000000018c30c0 in compile_file () at ../../gcc/gcc/toplev.c:979 #26 0x40000000018c700c in do_compile () at ../../gcc/gcc/toplev.c:2191 #27 0x40000000018c712c in toplev_main (argc=16, argv=0x800003fffdff0648) at ../../gcc/gcc/toplev.c:2223 #28 0x400000000085a0e4 in main (argc=Cannot access memory at address 0x23 ) at ../../gcc/gcc/main.c:35 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37323