------- 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

Reply via email to