mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
Fix bug #16342
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22824 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
708294204e
commit
e690120c88
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-04-26 Hubert Chan
|
||||
|
||||
* config/config.align.c: force compiler not to optimise away the
|
||||
code being tested ... fixes bug #16342
|
||||
|
||||
2006-04-26 Marcus Muller
|
||||
|
||||
* Source/NSKeyValueCoding.m: Fix bug #16386
|
||||
|
|
|
@ -15,5 +15,7 @@ int main ()
|
|||
int ival = 3;
|
||||
*(short *)(buf+1) = sval;
|
||||
*(int *)(buf+1) = ival;
|
||||
buf[0] = 0;
|
||||
puts (buf); /* force compiler not to optimise out the above assignments */
|
||||
exit (0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue