public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/62026] [5 Regression] Crash in lto_get_decl_name_mapping
Date: Wed, 15 Oct 2014 17:18:00 -0000	[thread overview]
Message-ID: <bug-62026-4-AO9WuDS8uU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-62026-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026

--- Comment #19 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Program received signal SIGSEGV, Segmentation fault.
lto_get_decl_name_mapping (decl_data=0x0, name=0x3fffaf6d4580 "_ZZ3fn1vE1b") at
../../gcc/gcc/lto-section-in.c:340
340     ../../gcc/gcc/lto-section-in.c: No such file or directory.
(gdb) bt
#0  lto_get_decl_name_mapping (decl_data=0x0, name=0x3fffaf6d4580
"_ZZ3fn1vE1b") at ../../gcc/gcc/lto-section-in.c:340
#1  0x000000001098f448 in get_constructor (this=0x3fffaf890080) at
../../gcc/gcc/varpool.c:280
#2  varpool_node::get_constructor (this=0x3fffaf890080) at
../../gcc/gcc/varpool.c:264
#3  0x0000000010981c50 in get_variable_section (decl=0x3fffaf7003f0,
prefer_noswitch_p=<optimized out>) at ../../gcc/gcc/varasm.c:1121
#4  0x0000000010983ae4 in get_block_for_decl (decl=decl@entry=0x3fffaf7003f0)
at ../../gcc/gcc/varasm.c:1194
#5  0x000000001098663c in make_decl_rtl (decl=0x3fffaf7003f0) at
../../gcc/gcc/varasm.c:1419
#6  0x0000000010989f44 in make_decl_rtl_for_debug (decl=0x3fffaf7003f0) at
../../gcc/gcc/varasm.c:1467
#7  0x00000000102523f8 in rtl_for_decl_location
(decl=decl@entry=0x3fffaf7003f0) at ../../gcc/gcc/dwarf2out.c:15760
#8  0x00000000102871e8 in loc_list_from_tree (loc=loc@entry=0x3fffaf7003f0,
want_address=<optimized out>) at ../../gcc/gcc/dwarf2out.c:14391
#9  0x000000001028dc14 in add_location_or_const_value_attribute
(attr=DW_AT_location, cache_p=<optimized out>, decl=0x3fffaf7003f0,
die=0x3fffaf880230)
    at ../../gcc/gcc/dwarf2out.c:15892
#10 add_location_or_const_value_attribute (die=0x3fffaf880230,
decl=0x3fffaf7003f0, cache_p=cache_p@entry=false, attr=DW_AT_location) at
../../gcc/gcc/dwarf2out.c:15836
#11 0x0000000010297708 in dwarf2out_finish (filename=0x112f2440
"/home/trippels/tmp/ccZV1IhN.ltrans0.o") at ../../gcc/gcc/dwarf2out.c:24243
#12 0x000000001063dd80 in compile_file () at ../../gcc/gcc/toplev.c:602
#13 0x0000000010640844 in do_compile () at ../../gcc/gcc/toplev.c:1973
#14 toplev_main (argc=22, argv=0x112f2860) at ../../gcc/gcc/toplev.c:2049
#15 0x0000000010101730 in main (argc=<optimized out>, argv=<optimized out>) at
../../gcc/gcc/main.c:36
(gdb) up
#1  0x000000001098f448 in get_constructor (this=0x3fffaf890080) at
../../gcc/gcc/varpool.c:280
280     ../../gcc/gcc/varpool.c: No such file or directory.
(gdb) up
#2  varpool_node::get_constructor (this=0x3fffaf890080) at
../../gcc/gcc/varpool.c:264
264     in ../../gcc/gcc/varpool.c
(gdb) up
#3  0x0000000010981c50 in get_variable_section (decl=0x3fffaf7003f0,
prefer_noswitch_p=<optimized out>) at ../../gcc/gcc/varasm.c:1121
1121    ../../gcc/gcc/varasm.c: No such file or directory.
(gdb) p debug_tree(decl)
 <var_decl 0x3fffaf7003f0 b
    type <integer_type 0x3fffaf6b07e0 int asm_written public SI
        size <integer_cst 0x3fffaf681380 constant 32>
        unit size <integer_cst 0x3fffaf681398 constant 4>
        align 32 symtab 16383 alias set -1 canonical type 0x3fffaf6b07e0
precision 32 min <integer_cst 0x3fffaf681338 -2147483648> max <integer_cst
0x3fffaf681350 2147483647>
        pointer_to_this <pointer_type 0x3fffaf6b1848>>
    static SI file timezone.ii line 9 col 14 size <integer_cst 0x3fffaf681380
32> unit size <integer_cst 0x3fffaf681398 4>
    align 32 context <function_decl 0x3fffaf843018 fn1> initial <error_mark
0x3fffaf681128>>
$1 = void


  parent reply	other threads:[~2014-10-15 17:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-62026-4@http.gcc.gnu.org/bugzilla/>
2014-08-05 19:30 ` [Bug lto/62026] [4.9/4.10 " d.g.gorbachev at gmail dot com
2014-08-06  8:58 ` rguenth at gcc dot gnu.org
2014-08-09 14:55 ` trippels at gcc dot gnu.org
2014-08-17  5:27 ` [Bug lto/62026] [4.9/5 " d.g.gorbachev at gmail dot com
2014-08-29  8:40 ` trippels at gcc dot gnu.org
2014-08-29  9:46 ` smf.linux at ntlworld dot com
2014-08-29 10:06 ` trippels at gcc dot gnu.org
2014-08-29 12:54 ` smf.linux at ntlworld dot com
2014-09-03 11:57 ` jamborm at gcc dot gnu.org
2014-09-14 14:57 ` smf.linux at ntlworld dot com
2014-09-14 14:59 ` smf.linux at ntlworld dot com
2014-09-14 15:42 ` trippels at gcc dot gnu.org
2014-09-23 11:21 ` jamborm at gcc dot gnu.org
2014-09-23 11:38 ` trippels at gcc dot gnu.org
2014-10-04 22:00 ` hubicka at gcc dot gnu.org
2014-10-05  2:53 ` [Bug lto/62026] [5 " hubicka at gcc dot gnu.org
2014-10-15 17:00 ` trippels at gcc dot gnu.org
2014-10-15 17:01 ` hubicka at gcc dot gnu.org
2014-10-15 17:18 ` trippels at gcc dot gnu.org [this message]
2014-10-15 18:06 ` trippels at gcc dot gnu.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=bug-62026-4-AO9WuDS8uU@http.gcc.gnu.org/bugzilla/ \
    --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).