Re: Record Types and Arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Philip Herron <redbrain@xxxxxxxxxxx> writes:

>   tree callable_var_decl = build_decl (BUILTINS_LOCATION,VAR_DECL,
> 				       get_identifier("__gpy_module_main_callables"),
> 				       array_type);
>
>  DECL_ARTIFICIAL (callable_var_decl) = 1;
>   TREE_STATIC (callable_var_decl) = 1;
>   TREE_PUBLIC (callable_var_decl) = 1;
>   TREE_USED (callable_var_decl) = 1;
>
> I get gimple dump output (although you dont see toplevel decls in
> gimple for some reason) but no assembler output. I am not quite sure
> what i am doing wrong with this.

Did you call rest_of_decl_compilation, or pass this in the array you
pass to wrapup_global_declarations and friends?  Everything else looks
OK as far as I can see.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux