[Bug tree-optimization/53254] New: Missed opportunity to aggregate consecutive stores into single larger store

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Sun May 6 04:11:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53254

             Bug #: 53254
           Summary: Missed opportunity to aggregate consecutive stores
                    into single larger store
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: law@redhat.com


struct X {
    X();
    char a,b,c,d,e,f,g,h;
    long long l;
};

X::X() : a(0), b(0), c(0), d(0), e(0), f(0), g(0), h(0), l(0)
{}

Compile with -O2.  Ideally we'd issue quadword stores.  I'm told VC++ manages
to get this right.



More information about the Gcc-bugs mailing list