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]

[lno] [committed] vectorizer - alignment fix and question


The following patch fixes the way the alignment of arrays is forced. The
alignment of an array is forced through DECL_ALIGN, except for DECLs which
are extern (DECL_EXTERNAL), which are not considered as amenable for
forcing alignment. Is that correct?
Are there other types of DECLs which alignment can't be forced? other types
of data which alignment can be forced?

thanks,
dorit

      * tree-vectorizer.c: (vect_align_data_ref): Check for
      DECL_ALIGN instead of TYPE_ALIGN. Check for DECL_EXTERNAL.
      (vect_analyze_data_refs): Check for DECL_EXTERNAL.

      Add documentation for functions.

(See attached file: vect_patch.March23)



Attachment: vect_patch.March23
Description: Binary data


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