Re: Fix vectorizer alignment update wrt section anchors

2015-03-09 Thread Jakub Jelinek
On Mon, Mar 09, 2015 at 04:38:57AM +0100, Jan Hubicka wrote: --- varasm.c (revision 221269) +++ varasm.c (working copy) @@ -1630,35 +1630,30 @@ default_ctor_section_asm_out_constructor void notice_global_symbol (tree decl) { - const char **type = first_global_object_name; + const

Re: Fix vectorizer alignment update wrt section anchors

2015-03-09 Thread Jan Hubicka
make_decl_rtl only calls this for: if (TREE_CODE (decl) == FUNCTION_DECL cgraph_node::get (decl) cgraph_node::get (decl)-instrumentation_clone) Is it intentional you are doing it unconditionally? Yes, ultimate_transparent_alias_target is either called in make_decl_rtl or in

Fix vectorizer alignment update wrt section anchors

2015-03-08 Thread Jan Hubicka
Hi, this patch avoids notice_global_symbol to create DECL_RTL prior IPA optimization. Consequently symtab_node::can_increase_alignment_p can check for presence of DECL_RTL with section anchor. This makes it possible to bump up alignment in tree-vect-data-refs.c in some cases (when DECL_RTL is not