Re: Passsing unfinished types to gen_type_die_with_usage

2015-05-15 Thread Jason Merrill
On 05/14/2015 10:29 AM, Jan Hubicka wrote: Is it expected safe for dwarf2out to process unfinished types? Yes, they are treated as an incomplete forward declaration. It seems to me that we may wan to delay rest_of_type_compilation for time the contexts are finished, to.. I wouldn't

Passsing unfinished types to gen_type_die_with_usage

2015-05-14 Thread Jan Hubicka
Hello, as I mentioned yesterday on IRC adding a check that only complete types have TYPE_BINFO defined triggers on type: record_type 0x76d24d20 __is_integer type_5 type_6 VOID align 8 symtab 0 alias set -1 canonical type 0x76d24d20 fields const_decl 0x74a89930 __value