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 debug/19212] /tmp/ccbY7YyA.s:6435: Error: attempt to get value of unresolved symbol `__s:V151' Date: Fri, 31 Dec 2004 05:52:00 -0000 [thread overview] Message-ID: <20041231055244.30355.qmail@sourceware.org> (raw) In-Reply-To: <20041231024632.19212.danglin@gcc.gnu.org> ------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-31 05:52 ------- It seems that the assembler message is somewhat misleading. The problem would seem to be due to the fact that the symbol "_ZNSt6locale13_S_categoriesE" is not output in the .s but the 'V' apparently indicates static storage and local scope. This problem doesn't occur at -O0. (gdb) p debug_tree (decl) <var_decl 0x412085b0 __s type <pointer_type 0x4014aee0 type <integer_type 0x4014ae70 char readonly type_6 QI size <integer_cst 0x4001a400 constant 8> unit size <integer_cst 0x4001a420 constant 1> align 8 symtab 152 alias set -1 precision 8 min <integer_cst 0x4001a4c0 -128> max <integer_cst 0x4001a4e0 127> pointer_to_this <pointer_type 0x4014aee0> reference_to_this < reference_type 0x401fe690>> unsigned SI size <integer_cst 0x4001aba0 constant 32> unit size <integer_cst 0x4001abe0 constant 4> align 32 symtab 151 alias set -1 pointer_to_this <pointer_type 0x407e90e0> reference_to_this < reference_type 0x40998310>> unsigned used SI file /home/dave/gnu/gcc-3.3/objdir/vax-ultrix/libstdc++-v3/ include/bits/basic_string.h line 468 size <integer_cst 0x4001aba0 32> unit size < integer_cst 0x4001abe0 4> align 32 context <function_decl 0x407e6d90 name> abstract_origin <parm_decl 0x40e8c540 __s> initial <array_ref 0x411ed960> (mem/s:SI (symbol_ref:SI ("_ZNSt6locale13_S_categoriesE")) [19 _S_categories+ 0 S4 A32])> (gdb) p debug_rtx (home) (mem/s:SI (symbol_ref:SI ("_ZNSt6locale13_S_categoriesE")) [19 _S_categories+0 S4 A32]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19212
next prev parent reply other threads:[~2004-12-31 5:52 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-31 2:46 [Bug debug/19212] New: " danglin at gcc dot gnu dot org 2004-12-31 5:52 ` danglin at gcc dot gnu dot org [this message] 2005-01-02 19:53 ` [Bug debug/19212] " danglin at gcc dot gnu dot org 2005-01-03 3:36 ` danglin at gcc dot gnu dot org 2005-01-03 15:26 ` pinskia at gcc dot gnu dot org 2005-01-15 17:27 ` danglin 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=20041231055244.30355.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: linkBe 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).