This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use types_compatible_p in get_binfo_at_offset
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Martin Jambor <mjambor at suse dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 11 May 2013 02:19:42 +0200
- Subject: Re: [PATCH] Use types_compatible_p in get_binfo_at_offset
- References: <20130510171251 dot GG3568 at virgil dot suse> <20130510172405 dot GF23785 at atrey dot karlin dot mff dot cuni dot cz> <20130510174056 dot GI3568 at virgil dot suse> <32c47948-a107-4275-a9ac-8f7805209a1b at email dot android dot com> <20130510190133 dot GA8298 at atrey dot karlin dot mff dot cuni dot cz> <f656fe48-6144-4140-b4b6-570c70a2ad56 at email dot android dot com> <20130511001601 dot GB29273 at kam dot mff dot cuni dot cz>
> seems to bring a lot of positives and by quick inspection most of them seem
> like same classes. I will try to find some time to debug this more. But
> glancing over the the dumps, I see many of them just have different name
> spaces. Do we even attempt to merge namespace_decl? How types from same
> namespaces in different units are supposed to match?
Just as example
<record_type 0x7ff129ff6bd0 X86Assembler addressable needs-constructing BLK
size <integer_cst 0x7ff136ee2760 type <integer_type 0x7ff1370af0a8 bitsizetype> constant 2368>
unit size <integer_cst 0x7ff136ee2780 type <integer_type 0x7ff1370af000 sizetype> constant 296>
align 64 symtab 0 alias set -1 canonical type 0x7ff136efc498
fields <field_decl 0x7ff129fe2850 D.752229
type <record_type 0x7ff129ff6150 GenericAssembler needs-constructing TI
size <integer_cst 0x7ff13709eda0 constant 128>
unit size <integer_cst 0x7ff13709edc0 constant 16>
align 64 symtab 0 alias set -1 canonical type 0x7ff136ec6b28 fields <field_decl 0x7ff129fe2098 printer> context <namespace_decl 0x7ff129e45e60 JSC>
pointer_to_this <pointer_type 0x7ff129c7f888> chain <type_decl 0x7ff129fd7e60 GenericAssembler>>
ignored TI file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 140 col 7
size <integer_cst 0x7ff137227400 constant 72>
unit size <integer_cst 0x7ff136eb50a0 constant 9>
align 64 offset_align 128
offset <integer_cst 0x7ff13709ed60 constant 0>
bit offset <integer_cst 0x7ff13709ede0 constant 0> context <record_type 0x7ff129ff6bd0 X86Assembler>
chain <field_decl 0x7ff129fe28e8 m_formatter type <record_type 0x7ff129ff6b28 X86InstructionFormatter>
used private nonlocal BLK file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 3207 col 7
size <integer_cst 0x7ff136e64d00 constant 2240>
unit size <integer_cst 0x7ff136e64d20 constant 280>
align 64 offset_align 128 offset <integer_cst 0x7ff13709edc0 16> bit offset <integer_cst 0x7ff13709ede0 0> context <record_type 0x7ff129ff6bd0 X86Assembler> chain <type_decl 0x7ff129ff75c0 X86Assembler>>> context <namespace_decl 0x7ff129e45e60 JSC>
pointer_to_this <pointer_type 0x7ff129c7fa80> chain <type_decl 0x7ff129ff7508 X86Assembler>>
<record_type 0x7ff12c9e7690 X86Assembler addressable needs-constructing BLK
size <integer_cst 0x7ff136ee2760 type <integer_type 0x7ff1370af0a8 bitsizetype> constant 2368>
unit size <integer_cst 0x7ff136ee2780 type <integer_type 0x7ff1370af000 sizetype> constant 296>
align 64 symtab 0 alias set -1 canonical type 0x7ff136efc498
fields <field_decl 0x7ff12db56000 D.789661
type <record_type 0x7ff12e6b4000 GenericAssembler needs-constructing TI
size <integer_cst 0x7ff13709eda0 constant 128>
unit size <integer_cst 0x7ff13709edc0 constant 16>
align 64 symtab 0 alias set -1 canonical type 0x7ff136ec6b28 fields <field_decl 0x7ff12c72e8e8 printer> context <namespace_decl 0x7ff1315587e8 JSC>
pointer_to_this <pointer_type 0x7ff12c6cb738> chain <type_decl 0x7ff13155f228 GenericAssembler>>
ignored TI file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 140 col 0
size <integer_cst 0x7ff137227400 constant 72>
unit size <integer_cst 0x7ff136eb50a0 constant 9>
align 64 offset_align 128
offset <integer_cst 0x7ff13709ed60 constant 0>
bit offset <integer_cst 0x7ff13709ede0 constant 0> context <record_type 0x7ff12c9e7690 X86Assembler>
chain <field_decl 0x7ff12db56098 m_formatter type <record_type 0x7ff12c9e75e8 X86InstructionFormatter>
used private nonlocal BLK file /abuild/jh/mozilla-central2/mozilla-central/js/src/assembler/assembler/X86Assembler.h line 3207 col 0
size <integer_cst 0x7ff136e64d00 constant 2240>
unit size <integer_cst 0x7ff136e64d20 constant 280>
align 64 offset_align 128 offset <integer_cst 0x7ff13709edc0 16> bit offset <integer_cst 0x7ff13709ede0 0> context <record_type 0x7ff12c9e7690 X86Assembler> chain <type_decl 0x7ff12c673678 X86Assembler>>> context <namespace_decl 0x7ff1315587e8 JSC>
pointer_to_this <pointer_type 0x7ff12c6cbf18> chain <type_decl 0x7ff12c6732e0 X86Assembler>>
Honza
>
> Honza
> >
> > Richard.
> >
> > >Honza
> >