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 tree-optimization/36830] [4.4 Regression] STORAGE_ERROR raised compiling s-os_lib.adb
Date: Sun, 20 Jul 2008 21:27:00 -0000	[thread overview]
Message-ID: <20080720212633.373.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36830-276@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from danglin at gcc dot gnu dot org  2008-07-20 21:26 -------
With revision 138012, I also hit this on hppa-unknown-linux-gnu:

(gdb) set args -I- -I. -Iada -I../../gcc/gcc/ada -quiet -nostdinc -dumpbase
s-os_lib.adb -O2 -g -gnatpg -gnata -gnatwns -gnatO ada/s-os_lib.o
../../gcc/gcc/ada/s-os_lib.adb -o xxx.s
(gdb) del 1 2
(gdb) r
Starting program: /home/dave/gnu/gcc/objdir/prev-gcc/gnat1 -I- -I. -Iada
-I../../gcc/gcc/ada -quiet -nostdinc -dumpbase s-os_lib.adb -O2 -g -gnatpg
-gnata -gnatwns -gnatO ada/s-os_lib.o ../../gcc/gcc/ada/s-os_lib.adb -o xxx.s

Program received signal SIGSEGV, Segmentation fault.
0x0161c02c in expressions_equal_p (e1=0x406d7a48, e2=0x0)
    at ../../gcc/gcc/tree-ssa-sccvn.c:2602
2602      te2 = TREE_TYPE (e2);
(gdb) bt
#0  0x0161c02c in expressions_equal_p (e1=0x406d7a48, e2=0x0)
    at ../../gcc/gcc/tree-ssa-sccvn.c:2602
#1  0x0160f75c in vn_reference_op_eq (p1=0x27a3890, p2=0x27a34a0)
    at ../../gcc/gcc/tree-ssa-sccvn.c:309
#2  0x0160fbbc in vn_reference_eq (p1=0x28391d0, p2=0xfafc1c50)
    at ../../gcc/gcc/tree-ssa-sccvn.c:391
#3  0x01f4845c in htab_find_slot_with_hash (htab=0x2837b40, 
    element=0xfafc1c50, hash=3457379796, insert=NO_INSERT)
    at ../../gcc/libiberty/hashtab.c:634
#4  0x01612168 in vn_reference_lookup_1 (vr=0xfafc1c50, vnresult=0x0)
    at ../../gcc/gcc/tree-ssa-sccvn.c:775
#5  0x01612324 in vn_reference_lookup (op=0x408fb0a8, vuses=0x40107a60, 
    maywalk=0 '\0', vnresult=0x0) at ../../gcc/gcc/tree-ssa-sccvn.c:832
#6  0x01614788 in visit_reference_op_store (lhs=0x408fb0a8, op=0x406d7ea8, 
    stmt=0x408fdb60) at ../../gcc/gcc/tree-ssa-sccvn.c:1513
#7  0x016181cc in visit_use (use=0x40b05850)
    at ../../gcc/gcc/tree-ssa-sccvn.c:1996
#8  0x01618fd0 in process_scc (scc=0x2837c50)
    at ../../gcc/gcc/tree-ssa-sccvn.c:2140
#9  0x0161a3cc in extract_and_process_scc_for_name (name=0x406d7a48)
    at ../../gcc/gcc/tree-ssa-sccvn.c:2192
#10 0x0161a790 in DFS (name=0x406d7a48) at ../../gcc/gcc/tree-ssa-sccvn.c:2245
#11 0x0161b9bc in run_scc_vn (may_insert_arg=1 '\001')
---Type <return> to continue, or q <return> to quit---
    at ../../gcc/gcc/tree-ssa-sccvn.c:2505
#12 0x015b5e2c in execute_pre (do_fre=1 '\001')
    at ../../gcc/gcc/tree-ssa-pre.c:4220
#13 0x015b61bc in execute_fre () at ../../gcc/gcc/tree-ssa-pre.c:4326
#14 0x00c6b8ec in execute_one_pass (pass=0x22d892c)
    at ../../gcc/gcc/passes.c:1295
#15 0x00c6bb64 in execute_pass_list (pass=0x22d892c)
    at ../../gcc/gcc/passes.c:1345
#16 0x00c6bb88 in execute_pass_list (pass=0x22d7ddc)
    at ../../gcc/gcc/passes.c:1346
#17 0x0117ffe4 in tree_rest_of_compilation (fndecl=0x400b4f50)
    at ../../gcc/gcc/tree-optimize.c:417
#18 0x01999148 in cgraph_expand_function (node=0x408b0400)
    at ../../gcc/gcc/cgraphunit.c:1158
#19 0x01999388 in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1221
#20 0x01999cbc in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1438
#21 0x000ecce8 in gnat_write_global_declarations ()
    at ../../gcc/gcc/ada/utils.c:4202
#22 0x00f224d0 in compile_file () at ../../gcc/gcc/toplev.c:976
#23 0x00f25190 in do_compile () at ../../gcc/gcc/toplev.c:2163
#24 0x00f25244 in toplev_main (argc=19, argv=0xfafc101c)
    at ../../gcc/gcc/toplev.c:2195
---Type <return> to continue, or q <return> to quit---
#25 0x0060b384 in main (argc=19, argv=0xfafc101c) at ../../gcc/gcc/main.c:35


-- 


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


  parent reply	other threads:[~2008-07-20 21:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15  1:53 [Bug tree-optimization/36830] New: " danglin at gcc dot gnu dot org
2008-07-15 12:07 ` [Bug tree-optimization/36830] " pinskia at gcc dot gnu dot org
2008-07-15 12:08 ` pinskia at gcc dot gnu dot org
2008-07-16  9:53 ` andreasmeier80 at gmx dot de
2008-07-18 17:05 ` rguenth at gcc dot gnu dot org
2008-07-20 21:27 ` danglin at gcc dot gnu dot org [this message]
2008-07-20 21:30 ` danglin at gcc dot gnu dot org
2008-07-21 12:55 ` andreasmeier80 at gmx dot de
2008-07-22  7:54 ` r dot emrich at de dot tecosim dot com
2008-07-23  9:36 ` ebotcazou at gcc dot gnu dot org
2008-07-27  9:04 ` ebotcazou at gcc dot gnu dot org
2008-07-27  9:16 ` ebotcazou at gcc dot gnu dot org
2008-07-27 15:38 ` dberlin at dberlin dot org
2008-07-27 15:59 ` ebotcazou at gcc dot gnu dot org
2008-07-27 16:57 ` ebotcazou at gcc dot gnu dot org
2008-07-27 16:59 ` ebotcazou at gcc dot gnu dot org
2008-07-27 17:04 ` ebotcazou 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=20080720212633.373.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).