It's actually worse than that.  The test can give incorrect results even for 
the current machine. e.g.:
void foo(float * p) // assume p is misaligned
{
*p = 0; // first store
frob(0);
*p = 0; // second store
}
It is possible for the first store to succeed and the second to cause an 
alignment fault (or vice-versa).

-- 
[armel] the ./H5detect test segfaults when built for armv7
https://bugs.launchpad.net/bugs/635199
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to