Checking failure building arm-elf
David Edelsohn
dje@watson.ibm.com
Sat Mar 8 04:02:00 GMT 2003
>>>>> Jan Hubicka writes:
Jan> This is very puzzling.. from where the result_decl_comes from?
Jan> Can you please check the p1 and p2 in eq_node?
Jan> It seems to be that DECL_ASSEMBLER_NAME must have been executed for both
Jan> of them already when they were inserted into the table, so I really
Jan> don't understand why they are checked again...
Optimization may have been confusing the information. I
recompiled cgraph.c without optimization.
p1 is the cgraph_hash entry for the hash value provided.
#4 0x10309fd0 in eq_node (p1=0x20133988, p2=0x305dd200)
at /gcc/dje/src/gcc/cgraph.c:75
75 return ((DECL_ASSEMBLER_NAME (((struct cgraph_node *)
p1)->decl)) ==
(gdb) print ((struct cgraph_node *) p1)->decl
$9 = 0x30292600
(gdb) pt
<pointer_type 30292600
type <record_type 30292580 binary_function<typename
_Predicate::first_argument_type,typename
_Predicate::second_argument_type,bool> type_0 type_5 type_6 VOID
align 8 symtab 0 alias set -1 context <namespace_decl 3000cd80
std>
n_parents 0 use_template=1 interface-unknown
pointer_to_this <pointer_type 30292600> chain <type_decl 30292780
binary_function<typename _Predicate::first_argument_type,typename
_Predicate::second_argument_type,bool>>>
unsigned SI
size <integer_cst 3000ad80 type <integer_type 30014d00 bit_size_type>
constant 32>
unit size <integer_cst 3000ade0 type <integer_type 30014c80 long
unsigned int> constant 4>
align 32 symtab 0 alias set -1>
(gdb) print (tree) p2
$10 = (union tree_node *) 0x305dd200
(gdb) pt
<function_decl 305dd200 operator>>
type <method_type 305dd180
type <reference_type 305a4780 type <record_type 302d8900
basic_istream<char,std::char_traits<char> >>
unsigned SI
size <integer_cst 3000ad80 constant 32>
unit size <integer_cst 3000ade0 constant 4>
align 32 symtab 2253 alias set 21>
DI
size <integer_cst 3000ab00 constant 64>
unit size <integer_cst 3000ad20 constant 8>
align 64 symtab 0 alias set -1 method basetype <record_type
302d8900 basic_istream<char,std::char_traits<char> >>
arg-types <tree_list 304a9090 side-effects value <pointer_type
302d8980>
chain <tree_list 307a6450 value <reference_type 30602a00>
chain <tree_list 3001a408 tree_2 value <void_type 30014f80
void>>>>
pointer_to_this <pointer_type 30993e00>>
addressable used public in_system_header external SI file
/gcc/dje/build/powerpc-ibm-aix4.3.3.0-20030307/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/istream.tcc
line 375 context <record_type 302d8900
basic_istream<char,std::char_traits<char> >>
arguments <parm_decl 305dd380 this
type <pointer_type 30646780 type <record_type 302d8900
basic_istream<char,std::char_traits<char> >>
readonly unsigned SI size <integer_cst 3000ad80 32> unit size
<integer_cst 3000ade0 4>
align 32 symtab 0 alias set -1>
readonly unsigned used in_system_header SI file
/gcc/dje/build/powerpc-ibm-aix4.3.3.0-20030307/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/istream.tcc
line 375 size <integer_cst 3000ad80 32> unit size
<integer_cst 3000ade0 4>
align 32 initial <pointer_type 30646780> arg-type <pointer_type
30646780>
chain <parm_decl 305dd700 __n type <reference_type 30602a00>
readonly unsigned used in_system_header SI file
/gcc/dje/build/powerpc-ibm-aix4.3.3.0-20030307/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bits/istream.tcc
line 375 size <integer_cst 3000ad80 32> unit size <integer_cst
3000ade0 4>
align 32 initial <reference_type 30602a00> arg-type
<reference_type 30602a00>>> initial <block 308b7300>
template-info 304a9150
(mem:SI (symbol_ref:SI ("_ZNSirsERf[DS]")) [0 S4 A8]) chain
<function_decl 305dd900 operator>>>>
More information about the Gcc-patches
mailing list