This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR debug/39267: Scope blocks no longer contains static vars, const and type decls...


On Mon, Mar 2, 2009 at 10:36 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sat, Feb 28, 2009 at 5:07 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>>
>> Bootstrapped/regtested x86_64-linux, OK?
>>
>> ? ? ? ?* tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
>> ? ? ? ?BLOCK_NONLOCALIZED_VAR): New macros.
>> ? ? ? ?(tree_block): Add nonlocalized_vars.
>> ? ? ? ?* dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Add
>> ? ? ? ?origin argument; allow generation of die with origin at hand only.
>> ? ? ? ?(gen_member_die, gen_type_die_with_usage, force_decl_die,
>> ? ? ? ?declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use of gen_*.
>> ? ? ? ?(gen_block_die): Fix checking for unused blocks.
>> ? ? ? ?(process_scope_var): Break out from .... ; work with origins only.
>> ? ? ? ?(decls_for_scope) ... here; process nonlocalized list.
>> ? ? ? ?(dwarf2out_ignore_block): Look for nonlocalized vars.
>> ? ? ? ?* tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized vars.
>> ? ? ? ?(dump_scope_block): Dump them.
>> ? ? ? ?* tree-inline.c (remap_decls): Handle nonlocalized vars.
>> ? ? ? ?(remap_block): Likewise.
>> ? ? ? ?(can_be_nonlocal): New predicate.
>> ? ? ? ?(copy_bind_expr, copy_gimple_bind): Update use of remap_block.
>
> This caused:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39345

This also caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39367

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]