Changeset 58d429 in git


Ignore:
Timestamp:
Apr 10, 2013, 6:01:02 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
15a1c57d52e99c4c1f391f7eb889af9d39e92cc1
Parents:
ccae2f26143f71606cceb669458d60a2c39c4654
Message:
fix: tr. #484 (test alignment)

from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/configure.ac

    rccae2f r58d429  
    232232{
    233233  void* ptr = (void*) malloc(12);
    234   double* d_ptr;
     234  volatile double* d_ptr;
    235235  if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4;
    236236  d_ptr = (double*) ptr;
    237   *d_ptr = (double) 1.1;
    238   if (*d_ptr != (double) 1.1) exit(1);
     237  *d_ptr = (double) 1.25;
     238  if (*d_ptr != (double) 1.25) exit(1);
    239239  else exit(0);
    240240}
Note: See TracChangeset for help on using the changeset viewer.