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: [PATCH] Fix PR tree-opt/25500 SRA vs struct containing a vector


Andrew_Pinski@PlayStation.Sony.Com wrote on 11/17/06 20:43:

        * tree-sra.c (single_scalar_field_in_record_p): New function.
        (decide_block_copy): Use it.


* gcc.dg/tree-ssa/sra-4.c: New testcase.


OK with ...


+/* Return true if there is only one non aggregate field in the record, TYPE.
+ Return false otherwise. */
+static bool
>
... vertical spacing here.


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