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 19:39:00 -0000	[thread overview]
Message-ID: <20081108193843.26348.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37323-276@http.gcc.gnu.org/bugzilla/>



------- 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
 <visibility> <early_local_cleanups> <summary generate> <cp> <inline>
<static-var> <pure-const>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 <return> to continue, or q <return> 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 <return> to continue, or q <return> 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


  parent reply	other threads:[~2008-11-08 19:39 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 [this message]
2008-11-08 21:31 ` danglin at gcc dot gnu dot org
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=20081108193843.26348.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).