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]

[sa]: Add two structure optimization tests


The first tests that we end up with the same code for a loop using structure accesses and a loop not using them.

The second tests that we can optimize through local structure accesses without needing SRA to scalarize it for us.

Committed to structure-aliasing branch in testsuite/gcc.dg/tree-ssa


--Dan

Attachment: structopt-1.c
Description: Text document

Attachment: structopt-2.c
Description: Text document


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