Hi all, In the AAPCS, for the purposes of deciding if a struct is a homogeneous floating-point aggregate, two fundamental types are considered the same if their machine types are the same. The `double' and `long double' C types have the same machine type in the 32-bit version of the ABI, so we must consider the following struct to be a HFA:
struct {
double a;
long double b;
} s;
The attached patch fixes this.
Oliver
hfa-long-double.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
