--- Comment #2 from tmartsum at gmail dot com 2010-09-12 15:01 ---
With Subtraction the situation is very similar:
struct Skew1 // Even
{
unsigned long long data;
unsigned long unused;
};
struct Skew2 // Odd
{
unsigned long unused;
unsigned long long data;
};
struct
Summary: Add with carry - missed optimization
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tmartsum at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45548